spacr._merged_names

Filename grouping for merged timelapse arrays, without analysis imports.

Functions

parse_merged_filename(fname)

Parse a merged filename for grouping and numeric timepoint sorting.

Module Contents

spacr._merged_names.parse_merged_filename(fname)[source]

Parse a merged filename for grouping and numeric timepoint sorting.

These are legacy display/grouping fields, not canonical database keys. Row IDs are letters, column/time IDs are integers, and prcf uses the well rather than separate row and column keys. Use spacr.schema.parse_field_stem() for database identities.

Parameters:

fname – path or filename in plate_well_field_time.npy form.

Returns:

plateID, wellID, rowID, columnID, fieldID, timeID, prcf, prcft and filename. Missing field/time values default to 1/0.