SynStates¶
- class sbpy.dynamics.syndynes.SynStates(source: State, betas: ndarray, ages: Quantity, r: Quantity, v: Quantity, t: Time, initial: State, observer: State | None = None)[source]¶
-
Abstract base class for particle states that make up a syndyne or synchrone.
Attributes Summary
True if the time attribute is arbitrary.
Position vector.
Position in km, and velocity in km/s.
Time.
Velocity vector.
x component of the velocity vector.
y component of the velocity vector.
z component of the velocity vector.
x component of the position vector.
y component of the position vector.
z component of the position vector.
Methods Summary
to_ephem()Convert to an sbpy ephemeris object.
Convert to a
SkyCoordobject.transform_to(frame)Transform state into another reference frame.
Attributes Documentation
- arbitrary_time¶
True if the time attribute is arbitrary.
- frame¶
- r¶
Position vector.
- rv¶
Position in km, and velocity in km/s.
- t¶
Time.
- v¶
Velocity vector.
- v_x¶
x component of the velocity vector.
- v_y¶
y component of the velocity vector.
- v_z¶
z component of the velocity vector.
- x¶
x component of the position vector.
- y¶
y component of the position vector.
- z¶
z component of the position vector.
Methods Documentation
- to_ephem() Ephem[source]¶
Convert to an sbpy ephemeris object.
- Returns:
- ephEphem
Notes
Source and observer states are stored in the
Ephem.metaattribute.Attribute or quantity
Ephemfield namebeta(s)
beta_rad
age(s)
age
t, as
Timedate
t, as
Quantityt_relative
\(|r|\)
r
\(|v \cdot \hat{r}|\)
rdot
coords
coords
coords.ra
ra
coords.dec
dec
coords.lon
lon
coords.lat
lat
coords.distance
delta
coords.radial_velocity
deltadot
x
x
y
y
z
z
v_x
vx
v_y
vy
v_z
vz
initial.x
x initial
initial.y
y initial
initial.z
z initial
initial.v_x
vx initial
initial.v_y
vy initial
initial.v_z
vz initial
initial.t
t initial
- transform_to(frame: FrameInputTypes) Self¶
Transform state into another reference frame.
- Parameters:
- framestring or
BaseCoordinateFrame Transform into this reference frame.
- framestring or
- Returns:
- stateState
The transformed state.