Some quick astronomical utility functions.
Project description
qastutil
Author: Dr Jie Zheng v1.0 2023R
Introduction
Some quick astronomical functions.
Functions
dec2dms
: transfer decimal to sexagesimal deg-min-sec, for Decdec2hms
: transfer decimal to sexagesimal hour-min-sec, for RAdms2dec
: transfer sexagesimal deg-min-sec to decimal, for Dechms2dec
: transfer sexagesimal hour-min-sec to decimal, for RAcoorddec2dms
: transfer astropy.coord.dec to deg-min-seccoordra2hms
: transfer astropy.coord.ra to hour-min-sechour2str
: transfer decimal hour to hour-min-sechourangle
: computer hour angle between lst and raangle_dis
: distance between two angles, result between -180 and +180distance
: distance between two sphere pointsazalt
: az & alt for object (ra, dec) at lat, lstmjd
: from y, m, d, h, s, s, tz to mjdday_of_year
: day serial number in given yearfmst
: fast midnight sidereal timemjd2
: from y, m, d, h, s, s, tz to mjdnight_len
: n of hours from sunset to sunrisenight_time
: sunset and sunrise for given yr, mn, dy, lon, lat, tzmjd_of_night
: get 4-digit mjd code for the site, using local 18:00mjd2hour
: Extract hour part from mjdsun_action
: Get time of sun pass specified altitude, in this nightairmass
: airmass from lat, lst, ra, declst
: get local sidereal time for longitude at mjd, no astropysun_pos
: sun position of given mjdmoon_pos
: moon position of given mjdmoon_phase
: moon phase of given mjd, by sun-earth-moon anglemoon_phase2
: moon phase by moon cycle
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
qastutil-0.32-py3-none-any.whl
(14.0 kB
view hashes)