pyrfu.pyrf.gse2gsm module#
- pyrfu.pyrf.gse2gsm.gse2gsm(inp, flag: str = 'gse>gsm')[source]#
Converts GSE to GSM.
- Parameters:
inp (xarray.DataArray or ndarray) – Time series of the input in GSE (GSM) coordinates. If ndarray first column is time in unix format.
flag ({"gse>gsm", "gsm>gse"}, Optional) – Flag for conversion direction. Default is “gse>gsm”
- Returns:
out – Time series of the input in GSM (GSE) coordinates. If ndarray first column is time in unix format.
- Return type:
xarray.DataArray or ndarray
See also
pyrfu.pyrf.geocentric_coordinate_transformation