empyrean.get_observer_states¶
- get_observer_states(obs_codes, epochs, frame=Frame.ICRF, origin=Origin(name='SSB'))[source]¶
Compute observer Cartesian states in a chosen frame and origin.
Cross product:
Nobs codes ×Mepochs =N*Mobservers.Thin wrapper around
Observers.from_codes()— prefer the classmethod when writing new code.- Parameters:
obs_codes (
Sequence[str]) – MPC observatory codes (e.g.["W84", "F51"]).epochs (
Epochs) – Observation epochs as anEpochstable, converted to TDB internally. Build one withEpochs.from_mjd(values, scale="tdb")(orscale="utc"); a bare array is refused, as it carries no time scale.frame (
Frame|str|int) – Reference frame for the returned states. DefaultFrame.ICRF.origin (
Origin|str|int) – Body the states are relative to. DefaultOrigin.SSB.
- Return type:
Observers
Notes
(Frame.ICRF, Origin.SSB)is the construction basis, required by ephemeris generation and orbit determination and returned untouched. SeeObservers.from_codes()for when another basis is the right request.