added whos('-file', ...) to check Adata file header of first ExpID for the variable spiny_regions.If found, spines_flag = 1 and the spine branch executes.
projID, uuid, Acode, animal, animalNbr, siteNbr, cortical_layer, ExpGroup, lab_notes — identical to other exp types. New: exp_type = 6 — identifier for 2P spine imaging and nbr_spiny_regions — number of spiny regions for this site.
For each expID/timepoint: timepoint, comments, spiny_region, spines, dendrite.
For first timepoint only: spine tracking and dendrite length.
rd is indexed (sr_cnt, tp_cnt) where the first dimension is spiny region and the second is timepoint, analogous to (zl_cnt, tp_cnt) for piezo layers in functional 2P