chebyshev_field#

Serialization model for ChebyshevField.

Versions#

Version

Status

1.0.0

current

  • Canonical URL: https://images.lsst.io/schemas/chebyshev_field-1.0.0

  • Raw JSON schema

Composition#

        classDiagram
  class ChebyshevFieldSerializationModel["ChebyshevFieldSerializationModel"] {
    +str schema_version
    +int min_read_version
    +dict~str, MetadataValue~ metadata
    +list~Any~ indirect
    +InlineArray coefficients
    +Unit | None unit
    +Literal~CHEBYSHEV~ field_type
  }
  class ButlerInfo["ButlerInfo"] {
  }
  class SerializedDatasetRef["SerializedDatasetRef"] {
    +UUID id
    +str | None run
    +str | None component
  }
  class SerializedDatasetType["SerializedDatasetType"] {
    +str name
    +str | None storageClass
    +list~str~ | None dimensions
    +str | None parentStorageClass
    +bool isCalibration
  }
  class SerializedDataCoordinate["SerializedDataCoordinate"] {
    +dict~str, int | str~ dataId
  }
  class SerializedDimensionRecord["SerializedDimensionRecord"] {
    +str definition
  }
  class Timespan["Timespan"] {
    +tuple~int, int~ nsec
  }
  class DatasetProvenance["DatasetProvenance"] {
    +UUID | None quantum_id
    +dict~UUID, dict~str, str | int | float | bool | UUID~~ extras
  }
  class CellGridBounds["CellGridBounds"] {
    +Box bbox
    +frozenset~CellIJ~ missing
  }
  class CellGrid["CellGrid"] {
    +Box bbox
    +YX~int~ cell_shape
  }
  class RegionSerializationModel["RegionSerializationModel"] {
    +Literal~Polygon, MultiPolygon~ type
    +list~list~tuple~float, float~ | list~tuple~float, float~~~~ coordinates
  }
  class IntersectionBoundsSerializationModel["IntersectionBoundsSerializationModel"] {
  }
  ChebyshevFieldSerializationModel --> ButlerInfo : butler_info?
  ChebyshevFieldSerializationModel --> CellGridBounds : bounds (+other)
  ChebyshevFieldSerializationModel --> RegionSerializationModel : bounds (+other)
  ChebyshevFieldSerializationModel --> IntersectionBoundsSerializationModel : bounds (+other)
  ButlerInfo --> SerializedDatasetRef : dataset
  ButlerInfo --> DatasetProvenance : provenance
  SerializedDatasetRef --> SerializedDatasetType : datasetType?
  SerializedDatasetRef --> SerializedDataCoordinate : dataId?
  SerializedDataCoordinate --> SerializedDimensionRecord : records?
  SerializedDimensionRecord --> Timespan : record+ (+other)
  DatasetProvenance --> SerializedDatasetRef : inputs*
  CellGridBounds --> CellGrid : grid
  IntersectionBoundsSerializationModel --> CellGridBounds : a (+other)
  IntersectionBoundsSerializationModel --> RegionSerializationModel : a (+other)
  IntersectionBoundsSerializationModel --> IntersectionBoundsSerializationModel : a (+other)
  IntersectionBoundsSerializationModel --> CellGridBounds : b (+other)
  IntersectionBoundsSerializationModel --> RegionSerializationModel : b (+other)
  IntersectionBoundsSerializationModel --> IntersectionBoundsSerializationModel : b (+other)
    

Fields#

Field

Type

Required

Description

bounds

BoundsSerializationModel

yes

The region where this field can be evaluated. The bbox of this region is grown by half a pixel on all sides and then used to remap coordinates to [-1, 1]x[-1, 1], which is the natural domain of a 2-d Chebyshev polynomial.

butler_info

ButlerInfo | null

no

Information about the butler dataset backed by this file.

coefficients

InlineArray

yes

Coefficients for a 2-d Chebyshev polynomial of the first kind, as a 2-d matrix in which element [p, q] corresponds to the coefficient of T_p(y) T_q(x).

field_type

string

no

indirect

array of any

no

Serialized nested objects that may be saved or read more than once.

metadata

object

no

Additional unstructured metadata.

min_read_version

integer

no

Smallest reader major that can interpret this tree.

schema_version

string

no

Data-model schema version of this tree (major.minor.patch).

unit

Unit | null

no

Units of the field.