skyscapes.disk.base#

Abstract disk interface for extended-source surface brightness.

Classes#

AbstractDisk

Extended-source surface brightness map.

Module Contents#

class skyscapes.disk.base.AbstractDisk[source]#

Bases: equinox.Module

Extended-source surface brightness map.

Subclasses return contrast (flux ratio relative to the host star) per pixel. The concrete System multiplies by star.spec_flux_density to turn that into ph/s/m^2/nm per pixel.

incl_deg / pa_deg are supplied at render time rather than stored on the disk so the System’s midplane orientation drives every disk component consistently. Disks whose geometry is pre-baked into their representation (e.g. ExovistaDisk’s contrast cube) may ignore the arguments; parametric disks (GraterDisk, ExovistaParametricDisk) consume them.

abstractmethod surface_brightness(wavelength_nm, time_jd, incl_deg, pa_deg)[source]#

Return contrast per pixel, shape (ny, nx).

Parameters:
  • wavelength_nm (jaxtyping.Array)

  • time_jd (jaxtyping.Array)

  • incl_deg (jaxtyping.Array)

  • pa_deg (jaxtyping.Array)

Return type:

jaxtyping.Array

abstractmethod spatial_extent()[source]#

Return (width_arcsec, height_arcsec).

Return type:

tuple[float, float]