Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
nsb2 0.2.0 documentation
nsb2 0.2.0 documentation

About This Project

  • Introduction
  • Features
  • Acknowledgements

Getting Started

  • Installation
  • Quick Start

Example Gallery

  • Examples
    • H.E.S.S. I
    • LST North
    • MST North
    • SST

API Reference

  • API Reference
    • nsb2
    • Core
      • integrate_wavelength
      • Bandpass
      • RateGrid
      • SpectralGrid
      • haversine
      • Atmosphere
      • CompositePipeline
      • Pipeline
      • PipelineLike
      • EffectiveApertureInstrument
      • Instrument
      • CatalogSource
      • EphemerisSource
      • HEALPixSource
      • LonLatSource
      • RadianceSource
      • Source
      • PicklesTRDSAtlas1998
      • SolarSpectrumRieke2008
      • create_color_grid
      • synthetic_magnitude
      • gte_to_sunrel
      • sunrel_to_gte
      • SunRelativeEclipticFrame
      • DirectPath
      • LightPath
      • ScatteredPath
      • DirectSolver
      • ExplicitDirectSolver
      • ExplicitScatteredSolver
      • LUTDirectSolver
      • LUTScatteredSolver
      • ScatteredSolver
      • Solver
      • PixelRefs
      • Prediction
      • ResolvedField
      • SourceField
      • UnitRegularGridInterpolator
    • Emitter
      • from_gaia_dr3_catalog
      • from_gaia_dr3_map
      • from_gaia_suppl_catalog
      • color_correction
      • from_leinert1998
      • helioecliptic_longitude
      • solar_elongation
      • from_noll2013
      • load_rolo_table
      • lunar_distance_scaling
      • lunar_phase_angle
      • rolo_albedo
      • rolo_log_albedo
      • tabulate_lunar_spectra
      • from_eso_skycalc
      • van_rhijn
    • Atmosphere
      • SingleScatteringAtmosphere
    • Instrument
      • SST
      • LST1North
      • MSTNorth
      • CT1

References

  • Bibliography
Back to top
View this page
Edit this page

gte_to_sunrel¶

nsb2.core.coordinates.gte_to_sunrel(gte_coords, sunrel_frame)[source]¶

Transform geocentric true ecliptic to Sun-relative ecliptic coordinates.

Parameters:
  • gte_coords (astropy.coordinates.GeocentricTrueEcliptic) – Coordinates to transform. Must carry an obstime.

  • sunrel_frame (SunRelativeEclipticFrame) – Target frame.

Returns:

The transformed coordinates.

Return type:

SunRelativeEclipticFrame

Raises:

ValueError – If gte_coords has no obstime, so the Sun cannot be located.

Next
sunrel_to_gte
Previous
synthetic_magnitude
Copyright © 2025, Gerrit Roellinghoff
Made with Sphinx and @pradyunsg's Furo
On this page
  • gte_to_sunrel
    • gte_to_sunrel()