gerlichlab / looptrace

Fork (from EMBL Gitlab) of the looptrace project: https://git.embl.de/grp-ellenberg/looptrace
MIT License
2 stars 1 forks source link

Data relationships and properties to enforce #66

Open vreuter opened 10 months ago

vreuter commented 10 months ago
vreuter commented 9 months ago

This could (and maybe should) be implemented in the post-hoc analysis repository.

vreuter commented 9 months ago

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.

vreuter commented 9 months ago
% % cat ../.zattrs
{
    "multiscale": {
        "multiscales": [
            {
                "axes": [
                    "t",
                    "c",
                    "z",
                    "y",
                    "x"
                ],
                "datasets": [
                    {
                        "path": "0"
                    }
                ],
                "name": "seq_images_raw_decon_P0002.zarr.zarr",
                "version": "0.3"
            }
        ]
    }
}%
vreuter commented 9 months ago
% 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
}