allensdk.brain_observatory.behavior.data_objects.metadata.subject_metadata.age module¶
- class allensdk.brain_observatory.behavior.data_objects.metadata.subject_metadata.age.Age(age: int)[source]¶
Bases:
DataObject,JsonReadableInterface,LimsReadableInterface,NwbReadableInterfaceAge (in days) of animal at the time the behavior session was taken.
- classmethod from_json(dict_repr: dict) Age[source]¶
Populates a DataFile from a JSON compatible dict (likely parsed by argschema)
- Returns:
- DataObject:
An instantiated DataObject which has name and value properties
- classmethod from_lims(behavior_session_id: int, lims_db: PostgresQueryMixin) Age[source]¶
Populate a DataObject from an internal database (likely LIMS)
- Returns:
- DataObject:
An instantiated DataObject which has name and value properties