spinifex.geometry

Module for getting the Earth magnetic field

Submodules

Classes

IPP

Ionospheric Piercepoints

Functions

get_ipp_from_altaz(→ IPP)

get ionospheric piercepoints from azimuth elevations

get_ipp_from_skycoord(→ IPP)

Get ionospheric piercepoints

Package Contents

class spinifex.geometry.IPP[source]

Bases: NamedTuple

Ionospheric Piercepoints

airmass: numpy.typing.NDArray[numpy.float64]

airmass factor to convert to slant values

altaz: astropy.coordinates.AltAz

azimuth elevation

loc: astropy.coordinates.EarthLocation

location of the piercepoints, dimension: times x altitudes. All altitudes are assumed to be equal

los: numpy.typing.NDArray[numpy.float64]

Line of sight direction in ITRS coordinates, normalized

station_loc: astropy.coordinates.EarthLocation

Observer Location

times: astropy.time.Time

array of times

spinifex.geometry.get_ipp_from_altaz(loc: astropy.coordinates.EarthLocation, altaz: astropy.coordinates.AltAz, height_array: astropy.units.Quantity) IPP[source]

get ionospheric piercepoints from azimuth elevations

Parameters

locEarthLocation

observer location

altazAltAz

azimuth and elevations for all times

height_arrayu.Quantity

array of altitudes

Returns

IPP

ionospheric piercepoints

spinifex.geometry.get_ipp_from_skycoord(loc: astropy.coordinates.EarthLocation, times: astropy.time.Time, source: astropy.coordinates.SkyCoord, height_array: astropy.units.Quantity) IPP[source]

Get ionospheric piercepoints

Parameters

locEarthLocation

observer location

timesTime

observation times

sourceSkyCoord

source location

height_arrayu.Quantity

array of altitudes

Returns

IPP

Ionospheric piercepoints