Datasets:
Add 2p data file descriptors
Browse files
data-2p/df_eyewire2_field_level.md
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# `df_eyewire2_field_level.parquet`
|
| 2 |
+
|
| 3 |
+
Loaded via `data_loader.load_df_fields()`. One row per recording field. 5 rows x 22 columns.
|
| 4 |
+
|
| 5 |
+
- **experimenter**: Name of the experimenter who conducted the recording.
|
| 6 |
+
- **date**: Date of the experiment.
|
| 7 |
+
- **exp_num**: Experiment number for the given date. Typically corresponds to the eye: 1 = left eye, 2 = right eye.
|
| 8 |
+
- **raw_id**: Internal recording/table index from the acquisition pipeline; not meaningful for analysis on its own.
|
| 9 |
+
- **field**: Field identifier ("GCL" + a number indicating the sequential order of the field within the recording session).
|
| 10 |
+
- **region**: Anatomical region of the recording field. Values seen: "RR" (Right Retina).
|
| 11 |
+
- **cond1**: Experimental condition identifier for the recording (e.g. "control").
|
| 12 |
+
- **ch0_name**, **ch1_name**: Names of the two acquisition channels (`wDataCh0` = OGB-1/calcium indicator channel, `wDataCh1` = SR-101/structural astrocyte-marker channel).
|
| 13 |
+
- **genline**: Genetic line of the animal (typically "Bl6").
|
| 14 |
+
- **animgender**: Sex of the animal.
|
| 15 |
+
- **eye**: Eye used for recording ("left" or "right").
|
| 16 |
+
- **setupid**: Identifier of the physical 2P rig/setup used for acquisition.
|
| 17 |
+
- **prepwmorient**: Orientation of the eye-cup preparation in degrees. 0 deg indicates dorsal is toward the back of the chamber; -1 indicates unknown orientation.
|
| 18 |
+
- **nxpix**, **nypix**: Width/height of the recorded field in pixels.
|
| 19 |
+
- **pixel_size_um**: Physical size of one pixel in micrometers.
|
| 20 |
+
- **field_ventral_dorsal_pos_um**: Ventral-dorsal position of the field's center relative to the optic nerve, in micrometers (negative = ventral, positive = dorsal).
|
| 21 |
+
- **field_temporal_nasal_pos_um**: Temporal-nasal position of the field's center relative to the optic nerve, in micrometers (negative = temporal, positive = nasal).
|
| 22 |
+
- **ch0_average**, **ch1_average**: Average-intensity images (2D, `nxpix` x `nypix`) of the two acquisition channels for the field.
|
| 23 |
+
- **roi_mask**: 2D integer array (`nxpix` x `nypix`) segmenting the field into ROIs. Each unique positive value identifies one ROI (matching `roi_id` in the ROI-level DataFrame); zero/negative values are background (see `plot_morph.plot_roi_mask`).
|
data-2p/df_eyewire2_outline.md
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# `df_eyewire2_outline.parquet`
|
| 2 |
+
|
| 3 |
+
Loaded via `data_loader.load_df_outline()`. One row per retinal-outline scan point. 24 rows x 16 columns.
|
| 4 |
+
|
| 5 |
+
Per `scripts/tutorial/plot_retinal_outline/plot_retinal_outline.py`, these are edge-of-retina scans taken around the perimeter of the eye-cup (plus one center reference point) so that, connected in order, they trace the outline of the retina; the first row is actually the optic disc, used as the coordinate-system origin.
|
| 6 |
+
|
| 7 |
+
- **experimenter**: Name of the experimenter who conducted the recording.
|
| 8 |
+
- **date**: Date of the experiment.
|
| 9 |
+
- **exp_num**: Experiment number for the given date. Typically corresponds to the eye: 1 = left eye, 2 = right eye.
|
| 10 |
+
- **field**: Outline scan-point identifier (e.g. `Wings00`), sequential around the retinal perimeter.
|
| 11 |
+
- **raw_id**: Internal recording/table index from the acquisition pipeline; not meaningful for analysis on its own.
|
| 12 |
+
- **field_data_file**: Path to the raw ScanM acquisition file (`.smp`) for this scan point on the original acquisition server (provenance record; the file itself is not part of this repo/dataset).
|
| 13 |
+
- **pixel_size_um**: Physical size of one pixel in micrometers.
|
| 14 |
+
- **absx**, **absy**, **absz**: Absolute microscope/stage position of this scan point in micrometers (raw acquisition coordinate frame, before referencing to the optic disc).
|
| 15 |
+
- **relx**, **rely**, **relz**: Position of this scan point in micrometers relative to the optic disc (first row), in the raw (un-rotated) stage coordinate frame.
|
| 16 |
+
- **ventral_dorsal_pos_um**: Ventral-dorsal position relative to the optic nerve in micrometers (`relx`/`rely` rotated into the anatomical axis via `prepwmorient`; negative = ventral, positive = dorsal).
|
| 17 |
+
- **temporal_nasal_pos_um**: Temporal-nasal position relative to the optic nerve in micrometers (negative = temporal, positive = nasal).
|
| 18 |
+
- **stack_averages**: Average-intensity structural image stack at this scan point, shape `(128, 128, 2)` — the two acquisition channels (OGB-1, SR-101), analogous to `ch0_average`/`ch1_average` in the field-/ROI-level DataFrames but stacked into a single array.
|
data-2p/df_eyewire2_roi_level.md
ADDED
|
@@ -0,0 +1,96 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# `df_eyewire2_roi_level_GCL{0..4}.parquet`
|
| 2 |
+
|
| 3 |
+
Loaded via `data_loader.load_df_rois()` (concatenates all 5 files and adds `qfilt`). One row per ROI (cell). 380 rows x 84 columns across the 5 files combined.
|
| 4 |
+
|
| 5 |
+
## General / recording metadata
|
| 6 |
+
|
| 7 |
+
- **experimenter**: Name of the experimenter who conducted the recording.
|
| 8 |
+
- **date**: Date of the experiment.
|
| 9 |
+
- **exp_num**: Experiment number for the given date. Typically corresponds to the eye: 1 = left eye, 2 = right eye.
|
| 10 |
+
- **raw_id**: Internal recording/table index from the acquisition pipeline; not meaningful for analysis on its own.
|
| 11 |
+
- **field**: Field identifier in the experiment ("GCL" + a number indicating the sequential order of the field within the recording session).
|
| 12 |
+
- **region**: Anatomical region of the recording field. Values seen: "RR" (Right Retina).
|
| 13 |
+
- **cond1**, **cond2**: Experimental condition identifiers for the recording (e.g. "control"); distinguish e.g. drug/control conditions when an experiment has more than one.
|
| 14 |
+
- **ch0_name**, **ch1_name**: Names of the two acquisition channels (e.g. `wDataCh0` = OGB-1/calcium indicator channel, `wDataCh1` = SR-101/structural astrocyte-marker channel, based on `ch0_average`/`ch1_average` usage elsewhere in the codebase).
|
| 15 |
+
- **roi_id**: ROI identifier within the field.
|
| 16 |
+
- **chirp**, **bar**: Stimulus identifiers for the chirp (`gChirp`) and moving-bar (`movingbar`) stimulus protocols.
|
| 17 |
+
- **preprocess_id**, **classifier_id**: Internal pipeline version/step identifiers (which preprocessing/classifier run produced this row); not meaningful for analysis on their own.
|
| 18 |
+
- **chirp_stim_name**, **bar_stim_name**: Stimulus protocol names, redundant with `chirp`/`bar`.
|
| 19 |
+
- **genline**: Genetic line of the animal (typically "Bl6").
|
| 20 |
+
- **animgender**: Sex of the animal.
|
| 21 |
+
- **eye**: Eye used for recording ("left" or "right").
|
| 22 |
+
- **setupid**: Identifier of the physical 2P rig/setup used for acquisition.
|
| 23 |
+
- **prepwmorient**: Orientation of the eye-cup preparation in degrees. 0 deg indicates dorsal is toward the back of the chamber; -1 indicates unknown orientation.
|
| 24 |
+
- **nxpix**, **nypix**: Width/height of the recorded field in pixels.
|
| 25 |
+
- **pixel_size_um**: Physical size of one pixel in micrometers.
|
| 26 |
+
- **field_ventral_dorsal_pos_um**, **field_temporal_nasal_pos_um**: Position of the recording field's center relative to the optic nerve, in micrometers (negative ventral/temporal, positive dorsal/nasal) — same value repeated for all ROIs in a field, see the corresponding columns in `df_eyewire2_field_level.parquet`.
|
| 27 |
+
- **ch0_average**, **ch1_average**: Average-intensity images (2D, `nxpix` x `nypix`) of the two acquisition channels for the ROI's field.
|
| 28 |
+
|
| 29 |
+
## ROI geometry
|
| 30 |
+
|
| 31 |
+
- **roi_size_um2**: Area of the ROI mask in square micrometers.
|
| 32 |
+
- **roi_dia_um**: Circle-equivalent diameter of the ROI mask in micrometers.
|
| 33 |
+
- **ventral_dorsal_pos_um**: Ventral-dorsal position of this ROI relative to the optic nerve, in micrometers (negative = ventral, positive = dorsal).
|
| 34 |
+
- **temporal_nasal_pos_um**: Temporal-nasal position of this ROI relative to the optic nerve, in micrometers (negative = temporal, positive = nasal).
|
| 35 |
+
|
| 36 |
+
## Chirp stimulus responses
|
| 37 |
+
|
| 38 |
+
- **chirp_trace**: Raw fluorescence trace during chirp stimulus presentation (1D array, one value per recording sample, all repeats concatenated).
|
| 39 |
+
- **chirp_trace_t0**, **chirp_trace_dt**: Start time and sampling interval (s) of `chirp_trace`.
|
| 40 |
+
- **chirp_pp_trace**: Preprocessed (detrended/normalized) version of `chirp_trace`.
|
| 41 |
+
- **chirp_pp_trace_t0**, **chirp_pp_trace_dt**: Start time and sampling interval (s) of `chirp_pp_trace`.
|
| 42 |
+
- **chirp_qidx**: Quality index (signal-to-noise ratio) of the chirp response for this ROI.
|
| 43 |
+
- **chirp_pres_qidx**: Fraction of ROIs in this ROI's field that pass the chirp quality threshold.
|
| 44 |
+
- **chirp_average_norm**: Normalized chirp response, averaged across repeats (1D array).
|
| 45 |
+
- **chirp_average_dt**: Sampling interval (s) of `chirp_average_norm`.
|
| 46 |
+
- **chirp_snippets**: Per-repeat chirp response snippets, shape `(time_points, n_repeats)`.
|
| 47 |
+
- **chirp_snippets_t0**: Start time of each repeat in `chirp_snippets` (1D array, one per repeat).
|
| 48 |
+
- **chirp_snippets_dt**: Sampling interval (s) of `chirp_snippets`.
|
| 49 |
+
- **chirp_triggertimes_snippets**: Stimulus trigger times per repeat, used to align `chirp_snippets` (2D array, `n_triggers_per_repeat` x `n_repeats`).
|
| 50 |
+
|
| 51 |
+
## Moving-bar stimulus responses
|
| 52 |
+
|
| 53 |
+
- **bar_trace**: Raw fluorescence trace during moving-bar stimulus presentation (1D array).
|
| 54 |
+
- **bar_trace_t0**, **bar_trace_dt**: Start time and sampling interval (s) of `bar_trace`.
|
| 55 |
+
- **bar_pp_trace**: Preprocessed (detrended/normalized) version of `bar_trace`.
|
| 56 |
+
- **bar_pp_trace_t0**, **bar_pp_trace_dt**: Start time and sampling interval (s) of `bar_pp_trace`.
|
| 57 |
+
- **bar_qidx**: Quality index for the moving-bar response, calculated using only the preferred direction.
|
| 58 |
+
- **bar_pres_qidx**: Fraction of ROIs in this ROI's field that pass the moving-bar quality threshold.
|
| 59 |
+
- **bar_ds_index**: Direction-selectivity index (DSi).
|
| 60 |
+
- **bar_ds_pvalue**: Statistical p-value for direction selectivity.
|
| 61 |
+
- **bar_pref_dir**: Preferred direction in radians.
|
| 62 |
+
- **bar_os_index**: Orientation-selectivity index (OSi).
|
| 63 |
+
- **bar_os_pvalue**: Statistical p-value for orientation selectivity.
|
| 64 |
+
- **bar_pref_or**: Preferred orientation in radians. Not corrected for eye orientation (left vs. right) or experimental setup geometry.
|
| 65 |
+
- **bar_dir_component**: Direction-tuning component from a rank-1 SVD decomposition of the direction-sorted moving-bar snippet matrix (one value per stimulus direction, see `ds.get_time_dir_kernels`).
|
| 66 |
+
- **bar_time_component**: Time-kernel component from the same SVD decomposition (one value per time point within a snippet).
|
| 67 |
+
- **bar_snippets**: Per-direction moving-bar response snippets, shape `(time_points, n_directions)`.
|
| 68 |
+
- **bar_snippets_t0**: Start time of each direction snippet in `bar_snippets` (1D array).
|
| 69 |
+
- **bar_snippets_dt**: Sampling interval (s) of `bar_snippets`.
|
| 70 |
+
- **bar_triggertimes_snippets**: Stimulus trigger times per direction, used to align `bar_snippets`.
|
| 71 |
+
|
| 72 |
+
## Mouse-cam (natural movie) stimulus responses
|
| 73 |
+
|
| 74 |
+
- **mc**: Identifier of the mouse-cam movie clip shown (e.g. `mc16`).
|
| 75 |
+
- **mc_trace**: Raw fluorescence trace during mouse-cam movie presentation (1D array).
|
| 76 |
+
- **mc_trace_t0**, **mc_trace_dt**: Start time and sampling interval (s) of `mc_trace`.
|
| 77 |
+
- **mc_pp_trace**: Preprocessed (detrended/normalized) version of `mc_trace`.
|
| 78 |
+
- **mc_pp_trace_t0**, **mc_pp_trace_dt**: Start time and sampling interval (s) of `mc_pp_trace`.
|
| 79 |
+
- **mc_triggertimes**: Stimulus trigger times marking movie-clip boundaries/repeats during the mouse-cam presentation.
|
| 80 |
+
|
| 81 |
+
## Cell type classification (Baden et al. 2016)
|
| 82 |
+
|
| 83 |
+
Computed via `baden16_utils.baden16_cluster_probs_to_info` from `probs_per_cluster`.
|
| 84 |
+
|
| 85 |
+
- **cluster_id**: Predicted Baden et al. 2016 functional cluster ID (1-75).
|
| 86 |
+
- **group_id**: Predicted Baden et al. 2016 functional group ID (1-46), derived from `cluster_id`.
|
| 87 |
+
- **supergroup**: Predicted broad functional supergroup label (e.g. "OFF", "ON-OFF", "Fast ON", "dAC"), derived from `group_id`.
|
| 88 |
+
- **prob_cluster**: Predicted probability of the assigned `cluster_id`.
|
| 89 |
+
- **prob_group**: Summed probability across all clusters belonging to the assigned `group_id`.
|
| 90 |
+
- **prob_supergroup**: Summed probability across all clusters belonging to the assigned `supergroup`.
|
| 91 |
+
- **prob_class**: Predicted probability of the broad RGC-vs-dAC class implied by `supergroup`.
|
| 92 |
+
- **probs_per_cluster**: Full probability vector (75 values) across all Baden et al. 2016 clusters.
|
| 93 |
+
|
| 94 |
+
## Derived
|
| 95 |
+
|
| 96 |
+
- **qfilt**: Boolean quality-filter flag, added by `data_loader.load_df_rois`. `True` if `bar_qidx > 0.6` or `chirp_qidx > 0.45`.
|