owmeta_movement package¶
This example uses the WCON JSON-schema to build a DataSource type and then creates a new DataSource with the values from an instance conforming to the schema
- class owmeta_movement.WCONWormTracksCreator(schema)[source]¶
Bases:
owmeta_core.json_schema.DataObjectCreator
Creates
WormTracks
from WCON deserialized to Python objectsTakes a schema annotated with ‘_owm_type’ entries indicating which types are expected at each position in the object and produces an instance of the root type described in the schema
- Parameters
- schema
dict
The annotated schema
- schema
- class owmeta_movement.WormTracks(*args, no_type_decl=False, **kwargs)¶
Bases:
owmeta_core.dataobject.DataObject
Worm tracker Commons Object Notation (WCON)
A text-based data interchange format for C. elegans trackers. It is a constrained subset of JSON. It is designed to be both human and machine readable and to facilitate data exchange and inter-operability for worm tracking data that is independent of platform and the language used for implementation.
- class owmeta_movement.WormTracksFiles(*args, no_type_decl=False, **kwargs)¶
Bases:
owmeta_core.dataobject.DataObject
For very long tracking experiments, it may be convenient to split a single experiment across multiple WCON files. To make it easier to reconstruct tracks across files, we support a ‘files’ object.
- class owmeta_movement.WormTracksMetadata(*args, no_type_decl=False, **kwargs)¶
Bases:
owmeta_core.dataobject.DataObject
Information about experimental conditions and software versions; critical for reproducibility across labs.
- class owmeta_movement.WormTracksUnits(*args, no_type_decl=False, **kwargs)¶
Bases:
owmeta_core.dataobject.DataObject
Defines the dimensions (temporal, spatial, etc) of the experiment.