galpy.df.StreamTrack.z¶
- StreamTrack.z(tp, **kwargs)[source]¶
Galactocentric Cartesian z along the track.
- Parameters:
tp (float, array, or Quantity) – Curve parameter(s); Quantity inputs are parsed per
parameter_kind. Out-of-range entries returnNaN.ro (float or Quantity, optional) – Distance scale (kpc); overrides the stored value.
vo (float or Quantity, optional) – Velocity scale (km/s); overrides the stored value.
use_physical (bool, optional) – Override the object-wide physical-units default.
quantity (bool, optional) – Return an astropy
Quantityif True.
- Returns:
Galactocentric Cartesian z in kpc when physical-units output is on, in galpy internal units otherwise.
- Return type:
float, numpy.ndarray, or Quantity