Core¶
Scene¶
nyx.core.scene Module¶
Classes¶
Multi-instrument observation of a shared physical sky. |
Render Pipeline¶
nyx.core.pipeline Module¶
Functions¶
|
Pixel rates of each source separately, summing to |
|
Render a single-observation scene to pixel rates. |
Classes¶
One instrument's view of the scene. |
nyx.core.protocols Module¶
Classes¶
Extinction and scattering, shared across every instrument in a scene. |
|
Protocol for emitter builders, consumed by |
|
Sensor that maps sky radiance to detector counts. |
|
Source model: the shared physics mapping conditions to photons. |
nyx.core.records Module¶
Functions¶
Classes¶
Output of atmosphere evaluation, consumed by the render loop. |
|
Marks a value whose leading axis is the observation axis. |
|
Point source data for the render loop (single observation). |
|
Sky geometry and pointing for one observation. |
|
Hemisphere positions and FOV grid for one observation, in every frame. |
|
Per-instrument observation data for any sky source. |
Parameters¶
nyx.core.parameter Module¶
Functions¶
|
Whether x is a |
Classes¶
A trainable physical parameter with an explicit characteristic scale. |
nyx.core.paramtree Module¶
Functions¶
|
Rescale every |
|
Physical value of every Parameter, frozen ones included. |
|
Return tree with the Parameters at selectors frozen. |
|
Return tree with every |
|
A jax KeyPath as the dotted name |
|
Join path parts into a dotted name. |
|
Yield |
|
Internal paths of every Parameter whose displayed name matches pattern. |
|
Number of free scalar values. |
|
Follow a path tuple through a mix of eqx.Modules, dicts, lists, tuples. |
|
Build a |
|
Set Parameters by the names |
|
Return tree with the Parameters at selectors unfrozen. |
|
Return tree with every |
|
Yield |
Classes¶
Pretty-printable listing of every |
nyx.core.filters Module¶
Functions¶
|
Boolean mask for every per-observation leaf in tree. |
|
Slice observation index out of a stacked tree; inverse of |
|
Give every |
Geometry and Observation¶
nyx.core.geometry Module¶
Functions¶
|
Raise unless every component was built against the same Geometry. |
Classes¶
Resolution and grid configuration for rendering. |
nyx.core.observation Module¶
Classes¶
One target and one location, observed at |
|
Ecliptic frame with longitude measured from the Sun. |
nyx.core.coordinates Module¶
Functions¶
|
Transform AltAz (az, alt) to offset frame (lon, lat) using rotation. |
|
JAX-compatible cosine of great-circle angular separation. |
|
Transform offset frame (lon, lat) to AltAz; inverse of |
|
Build rotation matrix from an AltAz pointing direction. |
|
|
Units¶
nyx.core.units Module¶
Functions¶
|
Convert energy flux to photon flux, per steradian or not. |
|
Convert any angle quantity to a raw array in radians. |
|
Convert any wavelength quantity to a raw array in nm. |