laika package

Subpackages

Submodules

laika.astro_dog module

laika.constants module

laika.dcb module

laika.dgps module

laika.downloader module

laika.ephemeris module

class laika.ephemeris.Ephemeris[source]

Bases: object

valid(time)[source]
class laika.ephemeris.EphemerisType[source]

Bases: object

FINAL_ORBIT = 1
NAV = 0
QCOM_POLY = 4
RAPID_ORBIT = 2
ULTRA_RAPID_ORBIT = 3
class laika.ephemeris.GLONASSEphemeris(data, epoch, healthy=True)[source]

Bases: laika.ephemeris.Ephemeris

get_sat_info(time)[source]
class laika.ephemeris.GPSEphemeris(data, epoch, healthy=True)[source]

Bases: laika.ephemeris.Ephemeris

get_sat_info(time)[source]
get_tgd()[source]
class laika.ephemeris.PolyEphemeris(prn, data, epoch, healthy=True, eph_type=None, tgd=0)[source]

Bases: laika.ephemeris.Ephemeris

get_sat_info(time)[source]
laika.ephemeris.convert_ublox_ephem(ublox_ephem)[source]
laika.ephemeris.parse_rinex_nav_msg_glonass(file_name)[source]
laika.ephemeris.parse_rinex_nav_msg_gps(file_name)[source]
laika.ephemeris.parse_sp3_orbits(file_names, SUPPORTED_CONSTELLATIONS)[source]
laika.ephemeris.read4(f, rinex_ver)[source]

laika.gps_time module

class laika.gps_time.GPSTime(week, tow)[source]

Bases: object

GPS time class to add and subtract [week, tow]

as_datetime()[source]
property day
classmethod from_datetime(datetime)[source]
classmethod from_glonass(cycle, days, tow)[source]
classmethod from_meas(meas)[source]
class laika.gps_time.TimeSyncer(mono_time, gps_time)[source]

Bases: object

Converts logmonotime to gps_time and vice versa

classmethod from_datetime(datetime)[source]
classmethod from_logs(raw_qcom_measurement_report, clocks)[source]
gps2mono(gps_time)[source]
mono2gps(mono_time)[source]
laika.gps_time.datetime_to_tow(t)[source]

Convert a Python datetime object to GPS Week and Time Of Week. Does not convert from UTC to GPST. Fractional seconds are supported.

tdatetime

A time to be converted, on the GPST timescale.

mod1024bool, optional

If True (default), the week number will be output in 10-bit form.

week, towtuple (int, float)

The GPS week number and time-of-week.

laika.gps_time.get_leap_seconds(time)[source]
laika.gps_time.gpst_to_utc(t_gpst)[source]
laika.gps_time.tow_to_datetime(tow, week)[source]

Convert a GPS Week and Time Of Week to Python datetime object. Does not convert from GPST to UTC. Fractional seconds are supported.

tow : time of week in seconds

weeks : gps week

tdatetime

Python datetime

laika.gps_time.utc_to_gpst(t_utc)[source]

laika.helpers module

class laika.helpers.TimeRangeHolder[source]

Bases: object

Class to support test if date is in any of the multiple, sparse ranges

add(start_time, end_time)[source]
laika.helpers.get_closest(time, candidates, recv_pos=None)[source]
laika.helpers.get_constellation(prn)[source]
laika.helpers.get_el_az(pos, sat_pos)[source]
laika.helpers.get_nmea_id_from_prn(prn)[source]
laika.helpers.get_nmea_id_from_unknown_prn(prn)[source]
laika.helpers.get_prn_from_nmea_id(nmea_id)[source]
laika.helpers.get_unknown_prn_from_nmea_id(nmea_id)[source]
laika.helpers.is_unknown_prn(prn)[source]
laika.helpers.rinex3_obs_from_rinex2_obs(observable)[source]

laika.iono module

laika.raw_gnss module

laika.rinex_file module

laika.trop module

Module contents