PointSource

class nyx.emitter.point_source.PointSource[source]

Bases: Emitter

One point source at a fixed ICRS position.

Parameters:
  • geo (Geometry) – Resolution configuration.

  • coord (astropy.coordinates.SkyCoord) – Scalar ICRS position, transformed to AltAz per observation. Proper motion is applied when the coordinate carries it.

  • spectrum (SpectralModel or array-like, optional) – Spectrum on geo.wvls, in photon / s / m^2 / nm. An array is wrapped as a StoredSpectrum. Defaults to a black body at mag and temperature_k.

  • mag (float) – Magnitude of the default black body; ignored if spectrum is given.

  • temperature_k (float) – Temperature of the default black body.

  • brightness (array-like) – Multiplier on the spectrum, and the source’s one free parameter. A scalar is one brightness for the run, (nobs,) a light curve, and (nobs, n_wvl) a chromatic one.

  • transform (str or None) – Domain of brightness, 'log' by default.

  • inscatter (bool) – Whether to compute the source’s own scattered halo.

__init__(geo, coord, spectrum=None, *, mag=9.0, temperature_k=9000.0, brightness=1.0, transform='log', inscatter=False)[source]
classmethod __new__(*args, **kwargs)