rail.yaw_rail.handles module

This file implements all RAIL data handles used to pass data between the various wrapper stages.

class rail.yaw_rail.handles.YawCacheHandle

Bases: DataHandle

Class to act as a handle for a YawCache instance, associating it with a file and providing tools to read & write it to that file.

Parameters:
  • tag (str) – The tag under which this data handle can be found in the store.

  • data (any or None) – The associated data.

  • path (str or None) – The path to the associated file.

  • creator (str or None) – The name of the stage that created this data handle.

data: YawCache
suffix: str | None = 'path'
class rail.yaw_rail.handles.YawCorrFuncHandle

Bases: DataHandle

Class to act as a handle for a yaw.CorrFunc instance, associating it with a file and providing tools to read and write the data.

Parameters:
  • tag (str) – The tag under which this data handle can be found in the store.

  • data (any or None) – The associated data.

  • path (str or None) – The path to the associated file.

  • creator (str or None) – The name of the stage that created this data handle.

data: CorrFunc
suffix: str | None = 'hdf5'