NeuroPAL_ID Neurons¶
Image Neurons Object¶
- class Neurons.Image¶
Image A list of neurons in a certain body part Detailed explanation goes here
- Constructor Summary
- Image(superpixels, varargin)¶
Image Construct an instance of this class. superpixel: Matlab struct superpixels with variables mean, cov, color, basline, and potentially ids, rank, probabilistic ids, probabilistic probs, … . bodypart: A string that represents which body part the current instance of this class corresponds to, examples are ‘head’ and ‘tail’. scale: image scale (x,y,z). meta_data: meta data
- Property Summary
- atlas_version¶
the atlas version used to ID the neurons
- bodypart¶
a string consisting the name of the worm’s body part - DEPRECATED,PLEASE USE “worm” INSTEAD!!!
- meta_data¶
key, value pairs for intermediate analysis
- neurons¶
a list of the instances of Neuron class -> see Neuron.m
- scale¶
(x,y,z) scale
- Method Summary
- add_deterministic_ids(deterministic_ids)¶
ADD_DETERMINISTIC_IDS setter of neuron deterministic_ids.
- add_meta_data(key, value)¶
ADD_META_DATA adding a (key,value) pair in the meta_data data structure for intermediate analysis, examples are LL (log likelihood) etc.
- add_neuron(volume, position, nsz, scale)¶
ADD_NEURON Add a neuron to the list of neurons. by running one iteration of Matching Pursuit. volume: the full z-scored image. position: the location in the neighbourhood of which the neuron should be added. nsz: the window size around the patch for the new neuron. trunc: the truncation value of the Gaussian function used for fitting.
- add_probabilistic_ids(probabilistic_ids)¶
ADD_PROBABILISTIC_IDS setter of neuron probabilistic_ids.
- add_probabilistic_probs(probabilistic_probs)¶
ADD_PROBABILISTIC_PROBS setter of neuron probabilistic_probs.
- add_ranks(ranks)¶
ADD_RANKS setter of neuron ranks.
- del_neuron(neuron_i)¶
DEL_NEURON Delete a neuron from the list of neurons.
- delete_annotations()¶
DELETE_ANNOTATIONS delete all user IDs.
- delete_model_IDs()¶
DELETE_MODEL_IDS delete all the model-predicted IDs.
- find_rank(rank_num)¶
FIND_RANK find the neuron with given rank.
- find_user_id_neuron(name)¶
FIND_USER_ID find a neuron by user ID name Note: since this method only returns one neuron, it ignores artifacts, mutations, and emphasized neurons as these can exist as duplicates. Please use find_user_id_neurons to search for multiple neurons.
- find_user_id_neurons(name, varargin)¶
FIND_USER_ID find multiple neurons by user ID name Inputs:
name = the name of the neuron to find [is_emphasized] = find emphasized neurons too?
default: false
- flipLR_annotations()¶
FLIPLR_ANNOTATIONS flip the L/R annotation for all user IDs.
- getOutliers(p)¶
index_neurons indexes the neurons that are outliers at the significance level p. tests containts the results of all individual tests performed, for each of the outliers test(i).global is the p-value of the global test (using color + position), based on chi^2 with 6 df for the i-th outlier. test(i).position_test and tests(i).color_test contain position and color specific tests.
tests(i).position_test.global and tests(i).color_test.global are global tests based on chi^2 with 3 df.
tests(i).position_test.individual and tests(i).color_test.individual contain the 3 tests (each) forevery position and color coordinates, each based on a chi^2 with one degree of freedom.
- get_3d_segments(sz, nsz)¶
GET_3D_SEGMENTS getter of neuron 3d segmentations. sz: size of the full reconstructed image, which is the same size of the original image used for fitting. nsz: size of a neuron used for reconstruction. trunc: Gaussian truncation value used for reconstruction. image: full reconstruction of image using truncated Gaussian functions and stitching them together.
- get_3d_shape(sz, nsz)¶
GET_3D_SHAPE getter of neuron 3d reconstructions. sz: size of the full reconstructed image, which is the same size of the original image used for fitting. nsz: size of a neuron used for reconstruction. trunc: Gaussian truncation value used for reconstruction. image: full reconstruction of image using truncated Gaussian functions and stitching them together.
- get_aligned_xyzRGBs()¶
GET_ALIGNED_XYZRGBS getter of aligned neuron positions + colors. *** NOTE: THIS FUNCTION MAY RETURN < NUM(NEURONS)!!!
- get_annotation_confidences()¶
GET_ANNOTATION_CONFIDENCES getter of neuron annotation_confidences.
- get_annotations()¶
GET_ANNOTATIONS getter of neuron annotations. *** NOTE: THIS FUNCTION MAY RETURN < NUM(NEURONS)!!!
- get_baselines()¶
GET_BASELINES getter of neuron baselines. *** NOTE: THIS FUNCTION MAY RETURN NANS!!!
- get_colors_readout()¶
GET_COLORS_READOUT getter of neuron color readouts.
- get_covariances()¶
GET_COVARIANCES getter of neuron covariances. *** NOTE: THIS FUNCTION MAY RETURN NANS!!!
- get_deterministic_ids()¶
GET_DETERMINISTIC_IDS getter of neuron deterministic_ids. *** NOTE: THIS FUNCTION MAY RETURN < NUM(NEURONS)!!!
- get_is_annotations_on()¶
GET_IS_ANNOTATIONS_ON getter of neuron is_annotation_ons.
- get_is_emphasized()¶
GET_IS_EMPHASIZED getter of neuron is_emphasized.
- get_line_sizes()¶
GET_LINE_COLORS getter of neuron line_sizes.
- get_marker_colors()¶
GET_MARKER_COLORS getter of neuron marker_colors.
- get_marker_sizes()¶
GET_MARKER_SIZES getter of neuron marker_sizes.
- get_meta_data(key)¶
GET_META_DATA returns the value paired with key.
- get_positions()¶
GET_POSITIONS getter of neuron positions.
- get_probabilistic_ids()¶
GET_PROBABILISTIC_IDS getter of neuron probabilistic_ids. *** NOTE: THIS FUNCTION MAY RETURN < NUM(NEURONS)!!!
- get_probabilistic_probs()¶
GET_PROBABILISTIC_PROBS getter of neuron probabilistic_probs. *** NOTE: THIS FUNCTION MAY RETURN < NUM(NEURONS)!!!
- get_truncations()¶
GET_TRUNCATIONS getter of neuron truncations. *** NOTE: THIS FUNCTION MAY RETURN NANS!!!
- is_all_annotated()¶
IS_ALL_ANNOTATED do all neurons have user annotations?
- is_any_annotated()¶
IS_ANY_ANNOTATED do any of the neurons have user annotations?
- is_any_auto_ID()¶
IS_ANY_ANNOTATED do any of the neurons have user annotations?
- mirror_image_Z(mirror_image)¶
MIRROR_IMAGE_Z Mirror an image around the z-axis image: the image to mirror rot_image: the image mirrored around the z-axis
- mirror_neurons_Z(mirror_image)¶
MIRROR_NEURONS_Z Mirror the neurons around the z-axis image: the image to mirror
- nearest_unannotated(neuron_i)¶
NEAREST_UNANNOTATED find the nearest unannoted neuron
- nearest_unannotated_z(neuron_i)¶
NEAREST_UNANNOTATED_Z find the nearest unannoted neuron in z
- num_auto_id_neurons()¶
NUM_AUTO_ID_NEURONS the number of auto ID’d neurons in the image
- num_neurons()¶
NUM_NEURONS the number of neurons in the image
- num_user_id_neurons()¶
NUM_USER_ID_NEURONS the number of user ID’d neurons in the image
- num_user_unid_neurons()¶
NUM_USER_UNID_NEURONS the number of user unID’d neurons in the image
- rank_neuron_max(neuron_i)¶
RANK_NEURON_MAX Give a neuron the maximum rank.
- rotate(image, rot)¶
ROT_IMAGE Rotates the image using parameters specified in rot image: the full image that needs to be rotated rot: a 4x4 rotation matrix or a 1x3 vector consisting rotation angles. The rotation will be applied to the full image and the neurons one by one. rot_image: the rotated image
- rotate_X_180(rot_image)¶
ROTATE_X_180 Rotate everything 180 degrees around the x-axis image: the image to rotate rot_image: the image rotated 180 degrees around the x-axis
- rotate_Y_180(rot_image)¶
ROTATE_Y_180 Rotate everything image 180 degrees around the y-axis image: the image to rotate rot_image: the image rotated 180 degrees around the y-axis
- rotate_Z_270(rot_image, scale)¶
ROTATE_Z_270 Rotate everything 270 degrees around the z-axis image: the image to rotate rot_image: the image rotated 270 degrees around the z-axis scale: the image’s microns/pixels scale
- rotate_Z_90(rot_image, scale)¶
ROTATE_Z_90 Rotate everything 90 degrees around the z-axis image: the image to rotate rot_image: the image rotated 90 degrees around the z-axis scale: the image’s microns/pixels scale
- rotate_image_X_180(rot_image)¶
ROTATE_IMAGE_X_180 Rotate an image 180 degrees around the x-axis image: the image to rotate rot_image: the image rotated 180 degrees around the x-axis
- rotate_image_Y_180(rot_image)¶
ROTATE_IMAGE_Y_180 Rotate an image 180 degrees around the y-axis image: the image to rotate rot_image: the image rotated 180 degrees around the y-axis
- rotate_image_Z_270(rot_image, scale)¶
ROTATE_IMAGE_Z_270 Rotate an image 270 degrees around the z-axis image: the image to rotate rot_image: the image rotated 270 degrees around the z-axis scale: the image’s microns/pixels scale
- rotate_image_Z_90(rot_image, scale)¶
ROTATE_IMAGE_Z_90 Rotate an image 90 degrees around the z-axis image: the image to rotate rot_image: the image rotated 90 degrees around the z-axis scale: the image’s microns/pixels scale
- rotate_neurons_X_180(rot_image)¶
ROTATE_NEURONS_X_180 Rotate the neurons 180 degrees around the x-axis image: the image to rotate
- rotate_neurons_Y_180(rot_image)¶
ROTATE_NEURONS_Y_180 Rotate the neurons 180 degrees around the y-axis image: the image to rotate
- rotate_neurons_Z_270(rot_image)¶
ROTATE_NEURONS_Z_270 Rotate the neurons 270 degrees around the z-axis image: the image to rotate
- rotate_neurons_Z_90(rot_image)¶
ROTATE_NEURONS_Z_90 Rotate the neurons 90 degrees around the z-axis image: the image to rotate
- to_superpixel()¶
TO_SUPERPIXEL coverts the neurons to a superpixel data structure for data loading and storing and for interfacing with different softwares and programming languages.
*** LEGACY FUNCTION. DEPRECATED, DON’T USE THIS!!!
- unrank_neuron(neuron_i)¶
UNRANK_NEURON Remove the neuron’s rank.
- update_colors(data, old_RGBW, new_RGBW)¶
UPDATE_COLORS update the neuron colors.
- user_id_neuron_names()¶
USER_ID_NEURON_NAMES get a list of the user ID neuron names
- user_id_neurons()¶
USER_ID_NEURONS get a list of the user ID neurons
Neuron Object¶
- class Neurons.Neuron¶
NEURON A neuron.
A neuron has a position within an image, color, list of potential IDs, probabilities associated with these IDs, and methods to draw it within a GUI.
- Property Summary
- aligned_xyzRGB¶
the neuron’s position & color, aligned to the global model
- annotation¶
User neuron ID.
- annotation_confidence¶
user confidence about annotation
- baseline¶
baseline noise values (R,G,B,W), W = white channel, values=[-1,1]
- color¶
neuron color based on fitting (R,G,B,W), W = white channel, values=[0-255]
- color_readout¶
neuron color based on readout from the image
- covariance¶
3x3 covariance matrix that’s fit to the neuron
- deterministic_id¶
Auto neuron ID.
- is_annotation_on¶
is the neuron’s annotation ON, OFF, or neither (empty)
- is_emphasized¶
user emphasis (e.g., for mutations)
- is_selected¶
GUI properties.
- outlier¶
whenever alignment information is available annotated neurons will be flagged as potential outliers
- position¶
Neuron position & color.
- probabilistic_ids¶
neuron IDs listed by descending probability
- probabilistic_probs¶
neuron ID probabilities
- rank¶
ranks of the neuron based on the confidence assigned by sinkhorn algorithm
- truncation¶
Gaussian truncation value that defines the sharpness of the edge of neuron
- Method Summary
- addToBrain(b)¶
ADDTOBRAIN Add this neuron to a brain image.
- annotate(name, confidence, is_on, atlas, varargin)¶
ANNOTATE annotate the neuron. name: the neuron name confidence: the user confidence is_on: is the neuron’s annotation ON or OFF? atlas: the statistical atlas of neuron properties [is_emphasized]: did the user emphasize this neuron?
- delete_annotation()¶
DELETE_ANNOTATION delete the user ID.
- delete_model_ID()¶
DELETE_MODEL_ID delete the model-predicted ID.
- get_3d_reconstruction(nsz)¶
GET_3D_RECONSTRUCTION reconstructs the 3D colored shape of the current neuron according to its properties.
nsz: size of the reconstructed image trunc: truncation value used for reconstruction. recon: (X,Y,Z,C) 4D double array.
- get_marker_color()¶
GET_MARKER_COLORS specifies the marker color of the current neuron according to the annotation confidence.
- get_marker_size()¶
GET_MARKER_SIZE specifies the marker size of the current neuron according to whether it is selected in the software or not.
- remove()¶
REMOVE Remove this neuron.
- rotate(rot, sz, newsz)¶
ROTATE rotates the neuron and translates it according to new image space.
rot: a 4x4 rotation matrix or a 1x3 vector consisting rotation angles. sz: size of the image before rotation used to translate before rotation. newsz: size of the image after rotation used to translate after rotation.
Hermaphrodite Neurons¶
- class Neurons.Hermaphrodite¶
HERMAPHRODITE Hermaphrodite related data.
- Property Summary
- asym_deterministic_LR_neurons¶
Asymmetrically deterministic neurons.
- asym_stochastic_LR_neurons¶
Asymmetrically stochastic neurons.
- non_LR_neurons¶
Non-left/right neurons.
- non_neuronal_cells¶
Non-neuronal cells.
- sym_2_fold_DV_neurons¶
2-fold symmetric neurons.
- sym_4_fold_DV_neurons¶
4-fold symmetric neurons. Note: the SIBs & SMDs are excluded because their coloring is not always symmetric for the dorsal and ventral cells.
- sym_6_fold_DV_neurons¶
6-fold symmetric neurons.
- Method Summary
- static flipLR(name)¶
FLIPLR Flip the L/R info in the neuron’s name.
- static getAnteriorMidbody()¶
GETANTERIORMIDBODY A list of anterior midbody neurons.
- static getAnteriorPharynx()¶
GETANTERIORPHARYNX A list of anterior pharynx neurons.
- static getCentralMidbody()¶
GETCENTRALRMIDBODY A list of central midbody neurons.
- static getClasses()¶
GETCLASSES Get a list of neuron classes.
- static getColors()¶
GETCOLORS Get a list of NeuroPAL neuron colors. names = neuron names colors = corresponding (R,G,B) color vector
- static getDorsalGanglion()¶
GETDORSALGANGLION A list of dorsal ganglion neurons.
- static getDorsoRectalGanglion()¶
GETDORSORECTALGANGLION A list of dorso-rectal ganglion neurons.
- static getGanglia()¶
GETGANGLIA Get a list of ganglia info. A stuct array where: name = ganglion name neurons = ganglion neurons
- static getGanglionNames()¶
GETGANGLIONNAMES Get a list of ganglion names.
- static getLeftAnteriorGanglion()¶
GETLEFTANTERIORGANGLION A list of left anterior ganglion neurons.
- static getLeftLateralGanglion()¶
GETLEFTLATERALGANGLION A list of left lateral ganglion neurons.
- static getLeftLumbarGanglion()¶
GETLEFTLUMBARGANGLION A list of left lumbar ganglion neurons.
- static getNeuroPALColorClass(name)¶
GETNEUROPALCOLORCLASS Get the NeuroPAL-limited color class for the neuron. Most left/right and dorsal/ventral neurons share equivalent NeuroPAL colors and thus have the same color class.
- static getNeuroPALName(neuron)¶
GETNEUROPALNAME Get the NeuroPAL-limited name for the neuron. Left/right neurons, within the same ganglia, cannot be distinguished. Therefore,they have a degenerate neuron name. For example, RIGL & RIGR have a NeuroPAL-limited ID of RIG.
- static getNeuronClass(neuron)¶
GETNEURONCLASS Get the class for this neuron.
- static getNeuronColor(name)¶
GETNEURONCOLOR Get the neuron’s NeuroPAL RGB color.
- static getNeurons()¶
GETNEURONS Get a list of neurons.
- static getNeuronsOrderedByGanglia()¶
GETNEURONSORDEREDBYGANGLIA Get a list of neurons ordered by ganglia combining left & right ganglia.
- static getNeuronsOrderedByGangliaLR()¶
GETNEURONSORDEREDBYGANGLIALR Get a list of neurons ordered by ganglia separating left & right ganglia.
- static getPosteriorMidbody()¶
GETPOSTERIORMIDBODY A list of posterior midbody neurons.
- static getPosteriorPharynx()¶
GETPOSTERIORPHARYNX A list of posterior pharynx neurons.
- static getPreAnalGanglion()¶
GETPREANALGANGLION A list of pre-anal ganglion neurons.
- static getRetroVesicularGanglion()¶
GETRETROVESICULARGANGLION A list of retro-vesicular ganglion neurons.
- static getRightAnteriorGanglion()¶
GETRIGHTANTERIORGANGLION A list of right anterior ganglion neurons.
- static getRightLateralGanglion()¶
GETRIGHTLATERALGANGLION A list of right lateral ganglion neurons.
- static getRightLumbarGanglion()¶
GETRIGHTLUMBARGANGLION A list of right lumbar ganglion neurons.
- static getVentralGanglion()¶
GETVENTRALGANGLION A list of ventral ganglion neurons.
- static getVentralNerveCord()¶
GETVENTRALNERVECORD A list of ventral nerve cord neurons.
- static isAWC(name)¶
ISAWC Is this neuron’s name an acceptable form of AWC?
- static isCell(name)¶
ISCELL Is this a cell name?
- static isNeuron(name)¶
ISNEURON Is this a neuron name?
- static neuronStartsWith(str)¶
NEURONSTARTSWITH Which neurons start with this string?
- static numAnteriorMidbodyNeurons()¶
NUMANTERIORMIDBODYNEURONS Get the number of anterior midbody neurons.
- static numCentralMidbodyNeurons()¶
NUMCENTRALMIDBODYNEURONS Get the number of central midbody neurons.
- static numHeadNeurons()¶
NUMHEADNEURONS Get the number of head neurons.
- static numMidbodyNeurons()¶
NUMMIDBODYNEURONS Get the number of midbody neurons.
- static numNeurons(body)¶
NUMNEURONS Get the number of neurons for this body part.
- static numPosteriorMidbodyNeurons()¶
NUMPOSTERIORMIDBODYNEURONS Get the number of posterior midbody neurons.
- static numTailNeurons()¶
NUMTAILNEURONS Get the number of tail neurons.
- static stripLR(name)¶
STRIPLR Strip the L/R info from the neuron’s name.
- static stripOnOff(name)¶
STRIPONOFF Strip the ON/OFF info from the neuron’s name.
Male Neurons¶
- class Neurons.Male¶
MALE Male related data.
- Property Summary
- asym_deterministic_LR_neurons¶
Asymmetrically deterministic neurons.
- asym_stochastic_LR_neurons¶
Asymmetrically stochastic neurons.
- non_LR_neurons¶
Non-left/right neurons.
- non_neuronal_cells¶
Non-neuronal cells.
- sym_2_fold_DV_neurons¶
2-fold symmetric neurons.
- sym_4_fold_DV_neurons¶
4-fold symmetric neurons. Note: the SIBs & SMDs are excluded because their coloring is not always symmetric for the dorsal and ventral cells.
- sym_6_fold_DV_neurons¶
6-fold symmetric neurons.
- variable_neurons¶
Variable neurons.
- Method Summary
- static flipLR(name)¶
FLIPLR Flip the L/R info in the neuron’s name.
- static getAnteriorMidbody()¶
GETANTERIORMIDBODY A list of anterior midbody neurons.
- static getAnteriorPharynx()¶
GETANTERIORPHARYNX A list of anterior pharynx neurons.
- static getCentralMidbody()¶
GETCENTRALRMIDBODY A list of central midbody neurons.
- static getClasses()¶
GETCLASSES Get a list of neuron classes.
- static getColors()¶
GETCOLORS Get a list of NeuroPAL neuron colors. names = neuron names colors = corresponding (R,G,B) color vector
- static getDorsalGanglion()¶
GETDORSALGANGLION A list of dorsal ganglion neurons.
- static getDorsoRectalGanglion()¶
GETDORSORECTALGANGLION A list of dorso-rectal ganglion neurons.
- static getGanglia()¶
GETGANGLIA Get a list of ganglia info. A stuct array where: name = ganglion name neurons = ganglion neurons
- static getGanglionNames()¶
GETGANGLIONNAMES Get a list of ganglion names.
- static getLeftAnteriorGanglion()¶
GETLEFTANTERIORGANGLION A list of left anterior ganglion neurons.
- static getLeftCloacalGanglion()¶
GETLEFTCLOACALGANGLION A list of left cloacal ganglion neurons.
- static getLeftLateralGanglion()¶
GETLEFTLATERALGANGLION A list of left lateral ganglion neurons.
- static getLeftLumbarGanglion()¶
GETLEFTLUMBARGANGLION A list of left lumbar ganglion neurons.
- static getLeftPreAnalGanglion()¶
GETLEFTPREANALGANGLION A list of left pre-anal ganglion neurons.
- static getLeftRays()¶
GETLEFTRAYS A list of left ray neurons.
- static getNeuroPALColorClass(name)¶
GETNEUROPALCOLORCLASS Get the NeuroPAL-limited color class for the neuron. Most left/right and dorsal/ventral neurons share equivalent NeuroPAL colors and thus have the same color class.
- static getNeuroPALName(neuron)¶
GETNEUROPALNAME Get the NeuroPAL-limited name for the neuron. Left/right neurons, within the same ganglia, cannot be distinguished. Therefore,they have a degenerate neuron name. For example, RIGL & RIGR have a NeuroPAL-limited ID of RIG.
- static getNeuronClass(neuron)¶
GETNEURONCLASS Get the class for this neuron.
- static getNeuronColor(name)¶
GETNEURONCOLOR Get the neuron’s NeuroPAL RGB color.
- static getNeurons()¶
GETNEURONS Get a list of neurons.
- static getNeuronsOrderedByGanglia()¶
GETNEURONSORDEREDBYGANGLIA Get a list of neurons ordered by ganglia combining left & right ganglia.
- static getNeuronsOrderedByGangliaLR()¶
GETNEURONSORDEREDBYGANGLIALR Get a list of neurons ordered by ganglia separating left & right ganglia.
- static getPosteriorMidbody()¶
GETPOSTERIORMIDBODY A list of posterior midbody neurons.
- static getPosteriorPharynx()¶
GETPOSTERIORPHARYNX A list of posterior pharynx neurons.
- static getRetroVesicularGanglion()¶
GETRETROVESICULARGANGLION A list of retro-vesicular ganglion neurons.
- static getRightAnteriorGanglion()¶
GETRIGHTANTERIORGANGLION A list of right anterior ganglion neurons.
- static getRightCloacalGanglion()¶
GETRIGHTCLOACALGANGLION A list of right cloacal ganglion neurons.
- static getRightLateralGanglion()¶
GETRIGHTLATERALGANGLION A list of right lateral ganglion neurons.
- static getRightLumbarGanglion()¶
GETRIGHTLUMBARGANGLION A list of right lumbar ganglion neurons.
- static getRightPreAnalGanglion()¶
GETRIGHTPREANALGANGLION A list of right pre-anal ganglion neurons.
- static getRightRays()¶
GETRIGHTRAYS A list of right ray neurons.
- static getVariableNeurons()¶
GETVARIABLENEURONS Get a list of variable neurons.
- static getVentralGanglion()¶
GETVENTRALGANGLION A list of ventral ganglion neurons.
- static getVentralNerveCord()¶
GETVENTRALNERVECORD A list of ventral nerve cord neurons.
- static isAWC(name)¶
ISAWC Is this neuron’s name an acceptable form of AWC?
- static isCell(name)¶
ISCELL Is this a cell name?
- static isNeuron(name)¶
ISNEURON Is this a neuron name?
- static neuronStartsWith(str)¶
NEURONSTARTSWITH Which neurons start with this string?
- static numAnteriorMidbodyNeurons()¶
NUMANTERIORMIDBODYNEURONS Get the number of anterior midbody neurons.
- static numCentralMidbodyNeurons()¶
NUMCENTRALMIDBODYNEURONS Get the number of central midbody neurons.
- static numHeadNeurons()¶
NUMHEADNEURONS Get the number of head neurons.
- static numMidbodyNeurons()¶
NUMMIDBODYNEURONS Get the number of midbody neurons.
- static numNeurons(body)¶
NUMNEURONS Get the number of neurons for this body part.
- static numPosteriorMidbodyNeurons()¶
NUMPOSTERIORMIDBODYNEURONS Get the number of posterior midbody neurons.
- static numTailNeurons()¶
NUMTAILNEURONS Get the number of tail neurons.
- static stripLR(name)¶
STRIPLR Strip the L/R info from the neuron’s name.
- static stripOnOff(name)¶
STRIPONOFF Strip the ON/OFF info from the neuron’s name.
Neuron Birth Information¶
- class Neurons.NeuronBirth¶
- Property Summary
- late_herm_neuron_stages¶
- late_herm_neuron_times¶
- late_herm_neurons¶
Hermaphrodite neurons that differentiate long after they are born.
- Method Summary
- static getHermaphroditeBirthText()¶
GETHERMAPHRODITEBIRTHTEXT Get a list of hermaphrodite neuron birth times as a text string.
- Output:
neurons = neuron names stages = birth time text neuron_stages = neuron name and birth time text
- static getHermaphroditeBirthTimes()¶
GETHERMAPHRODITEBIRTHTIMES Get a list of hermaphrodite neuron birth times.
- Output:
names = neuron names minutes = neuron birth times in minutes stages = larval stage times = stage-specific birth time
- static getHermaphroditeStages(neurons, minutes)¶
GETHERMAPHRODITESTAGES Get a list of hermaphrodite neuron birth stages and stage-specific times.
- Input:
names = neuron names minutes = neuron birth times in minutes
- Output:
stages = larval stage times = stage-specific birth time
- static getMaleBirthText()¶
GETMALEBIRTHTEXT Get a list of male neuron birth times as a text string.
- Output:
neurons = neuron names stages = birth time text neuron_stages = neuron name and birth time text
- static getMaleBirthTimes()¶
GETMALEBIRTHTIMES Get a list of male neuron birth times.
- Output:
names = neuron names minutes = neuron birth times in minutes stages = larval stage times = stage-specific birth time