Images (pyobs.images)

Some info about pyobs.images.Image.

Image

class Image(data: ndarray[Any, dtype[Any]] | None = None, header: Header | None = None, mask: ndarray[Any, dtype[Any]] | None = None, uncertainty: ndarray[Any, dtype[Any]] | None = None, catalog: Table | None = None, raw: ndarray[Any, dtype[Any]] | None = None, meta: Dict[Any, Any] | None = None, *args: Any, **kwargs: Any)

Image class.

Init a new image.

Parameters:
  • data – Numpy array containing data for image.

  • header – Header for the new image.

  • mask – Mask for the image.

  • uncertainty – Uncertainty image.

  • catalog – Catalog table.

  • raw – If image is calibrated, this should be the raw image.

  • meta – Dictionary with meta information (note: not preserved in I/O operations!).

Image Processors (pyobs.images.processors)

Exposure Time estimators

class ExpTimeEstimator(min_exp_time: float = 0.0, max_exp_time: float | None = None, **kwargs: Any)

Estimate exposure time.

Init new exposure time estimator.

class StarExpTimeEstimator(edge: float = 0.0, bias: float = 0.0, saturated: float = 0.7, **kwargs: Any)

Estimate exposure time from a star.

Create new exp time estimator from single star.

Parameters:
  • edge – Fraction of image to ignore at each border.

  • bias – Bias level of image.

  • saturated – Fraction of saturation that is used as brightness limit.