skyscapes.io#
Data loaders for external simulation formats.
Submodules#
Functions#
|
Load an ExoVista FITS file into a |
|
Identify Earth-like planets in an ExoVista FITS file. |
Package Contents#
- skyscapes.io.from_exovista(fits_file, planet_indices=None, only_earths=False)[source]#
Load an ExoVista FITS file into a
scene.System.The system’s midplane inclination and position angle (FITS star header keys
IandPA) are applied at load time as a frame rotation of each planet’s state vector before its Keplerian elements are computed. The same angles are stored asSystem.midplane_inc_degandSystem.midplane_pa_degfor downstream diagnostic use.- Args:
fits_file: Path to ExoVista FITS file. planet_indices: Planet indices to load (0-based).
None= all. only_earths: If True and planet_indices is None, auto-filter Earths.- Returns:
scene.Systemwith star, planets (tuple), disk, and midplane metadata.
- Parameters:
fits_file (str)
planet_indices (collections.abc.Sequence[int] | None)
only_earths (bool)
- Return type: