Open vreuter opened 10 months ago
This could (and maybe should) be implemented in the post-hoc analysis repository.
Note that we can use the .zattrs
file in each position FOV and the .zarray
file in the 0
folder subarray to validate various dimensional properties of the dataset, as well perhaps as the layout of data in terms of structure on the filesystem.
% % cat ../.zattrs
{
"multiscale": {
"multiscales": [
{
"axes": [
"t",
"c",
"z",
"y",
"x"
],
"datasets": [
{
"path": "0"
}
],
"name": "seq_images_raw_decon_P0002.zarr.zarr",
"version": "0.3"
}
]
}
}%
% cat .zarray
{
"chunks": [
1,
1,
1,
2044,
2048
],
"compressor": {
"blocksize": 0,
"clevel": 5,
"cname": "zstd",
"id": "blosc",
"shuffle": 2
},
"dtype": "<u2",
"fill_value": 0,
"filters": null,
"order": "C",
"shape": [
2,
2,
2,
2044,
2048
],
"zarr_format": 2
}
*_rois.csv
and frame count for the experiment should multiply to give the number of rows (excluding header) of the*_dc_rois.csv
file.roi_image_size
defined in the config file. For example,z_max
-z_min
should give 16 for any ROI when the ROI image size is defined in the config as something like(16, 32, 32)
represented as YAML array.{unused, used}
should bifurcate the pool of bead ROIs for each(FOV, frame)
pair; see #108[0, 1, ...N_nuclei]
, since 0 = no label percellpose.CellposeModel.eval
docstring