adam_core.observations.exposures module

class adam_core.observations.exposures.Exposures(table: Table, **kwargs: int | float | str)[source]

Bases: Table

Exposures is a table of data about exposures that provide point source observations.

id

A column for storing large strings (over 231 bytes long). Large string data is stored in variable-length chunks.

start_time

A column which represents an embedded quivr table.

Parameters:
  • table_type – The type of the table to embed.

  • nullable – Whether the column can contain null values.

  • metadata – A dictionary of metadata to attach to the column.

duration

A column for storing 64-bit floating point numbers.

filter

A column for storing large strings (over 231 bytes long). Large string data is stored in variable-length chunks.

observatory_code

A column for storing large strings (over 231 bytes long). Large string data is stored in variable-length chunks.

seeing

A column for storing 64-bit floating point numbers.

depth_5sigma

A column for storing 64-bit floating point numbers.

group_by_observatory_code() Iterator[tuple[str, Exposures]][source]

Groups the exposures by observatory code.

observers(frame: Literal['ecliptic', 'equatorial', 'itrf93'] = 'ecliptic', origin: OriginCodes = OriginCodes.SUN) Observers[source]

Return the observer location at each exposure midpoint.

midpoint() Timestamp[source]

Returns the midpoint of the exposure.

schema: ClassVar[pa.Schema] = id: large_string not null start_time: struct<days: int64, nanos: int64>   child 0, days: int64   child 1, nanos: int64 duration: double not null filter: large_string not null observatory_code: large_string not null seeing: double depth_5sigma: double
table: pa.Table