Previous topic

pycrtools.footprint

Next topic

pycrtools.grid

This Page

pycrtools.geomag

GeoMag([wmm_filename])
GeoMagTest([methodName])
angular_separation((double lon_1, ...) real_t
date date(year, month, day) –> date object
deg2rad((double a) -> double) real_t tmf_deg2rad(const real_t
geomagneticAngle(az, el, time[, lon, lat, ...]) Calculates the geomagnetic angle (alpha) between the shower and the earth magnetic field.
rad2deg((double a) -> double) real_t tmf_rad2deg(const real_t
pycrtools.geomag.geomagneticAngle(az, el, time, lon=6.86983754, lat=52.915122495, height=5.0, filename=None)

Calculates the geomagnetic angle (alpha) between the shower and the earth magnetic field.

time date of observation as Python date object az azimuth (Eastward positive from North) el elevation (Positive up from horizon) lon WGS84 longitude lat WGS84 latitude height height above mean sea level in meters filename name of file with model coefficients