Astronomy Users Library

[Up] [Top]

Documentation for package ‘astrolibR’ version 0.1

Help Pages

astrolibR-package astrolibR: Astronomy Users Library
adstring Return RA and Dec as character string(s) in sexigesimal format
airtovac Convert air wavelengths to vacuum wavelengths
aitoff Convert longitude, latitude to X,Y using an AITOFF projection
altaz2hadec Convert horizon (Alt-Az) coordinates to hour angle and declination
astrolibR astrolibR: Astronomy Users Library
baryvel Calculates heliocentric and barycentric velocity components of Earth
bprecess Precess celestial positions from J2000.0 (FK5) to B1950.0 (FK4)
calz_unred Deredden a galaxy spectrum using the Calzetti et al. (2000) recipe
ccm_unred Deredden a flux vector using the Cardelli et al. (1989) parameterization
cirrange Force an angle into the range 0 <= ang < 360
cosmo_param Derive full set of cosmological density parameters from a partial set
co_aberration Calculate changes to right ascension and declination due to astronomical aberration
co_nutate Calculate changes in right ascension and declination due to nutation of the Earth's rotation
co_refract Calculate correction to altitude due to atmospheric refraction
co_refract_forward Calculate the true altitude of a celestial object from an observed altitude.
ct2lst Convert from Local Civil Time to Local Mean Sidereal Time
daycnv Convert Julian dates to Gregorian calendar dates
deredd Deredden stellar Stromgren parameters given for a value of E(b-y)
dtdz Integrand for cosmic age vs. redshift in standard cosmology
eci2geo Convert Earth-centered inertial coordinates to geographic spherical coordinates
eq2hor Convert celestial (ra-dec) coords to local horizon coords (alt-az)
eqpole Convert Right Ascension and declination to X,Y using an equal-area polar projection
euler Transform between Galactic, celestial, and ecliptic coordinates
flux2mag Convert from flux (ergs/s/cm^2/A) to astronomical magnitudes
fm_unred Deredden a flux vector using the Fitzpatrick (1999) parameterization
galage Determine the age of a galaxy given its redshift and a formation redshift
gal_uvw Calculate the Galactic space velocity (U,V,W) of a star
gcirc Computes rigorous great circle arc distances between points on the celestial sphere
geo2eci Convert geographic spherical coordinates to Earth-centered inertial coordinates
geo2geodetic Convert from geographic/planetographic to geodetic coordinates
geodetic2geo Convert from geodetic (or planetodetic) to geographic coordinates
glactc Convert between celestial and Galactic (or Supergalactic) coordinates
glactc_pm Convert between celestial and Galactic (or Supergalactic) proper motion and coordinates
hadec2altaz Convert Hour Angle and Declination to Horizon (alt-az) coordinates
helio Compute (low-precision) heliocentric coordinates for the planets
helio_jd Convert geocentric (reduced) Julian date to heliocentric Julian date
helio_rv Calculate the heliocentric radial velocity of a spectroscopic binary
hor2eq Converts local horizon coordinates (alt-az) to equatorial coordinates(ra-dec)
imf Compute an N-component power-law logarithmic stellar initial mass function
intdiv Integer divide
ismeuv Compute the continuum interstellar extreme ultraviolet (EUV) optical depth
jdcnv Convert Gregorian dates to Julian days
jprecess Precess celestial positions from B1950.0 (FK4) to J2000.0 (FK5) with proper motion
juldate Convert from calendar to Reduced Julian Date
ldist Integrand for luminosity distance calculation
lsf_rotate Create a 1-d convolution kernel to broaden a spectrum from a rotating star
lumdist Calculate luminosity distance (in Mpc) of an object given its redshift
mag2flux Convert from astronomical magnitudes to flux (ergs/s/cm^2/A)
month_cnv Convert between a month name and the equivalent number
moonpos Compute the Right Ascension and Declination of the Moon at specified Julian date(s)
mphase Calculate the illuminated fraction of the Moon at given Julian date(s)
nutate Calculate the nutation in longitude and obliquity for a given Julian date
planck Calculate the Planck function in units of ergs/cm2/s/A
planet_coords Calculate low precision Right Ascension and declination for the planets given a date
polyidl Calculate polynomial
posang Compute position angle of source 2 relative to source 1
precess Precess coordinates from EQUINOX1 to EQUINOX2
precess_xyz Precess equatorial geocentric rectangular coordinates
premat Return the precession matrix needed to go from EQUINOX1 to EQUINOX2
radec Convert Right Ascension and declination from decimal to sexigesimal units
rhotheta Calculate the separation and position angle of a binary star
sixty Convert a decimal number to sexigesimal
sphdist Distance on a sphere
sunpos Compute the Right Ascension and Declination of the Sun at specified Julian date(s)
ten Convert a sexigesimal number or string to decimal
uvbybeta Derive dereddened colors, metallicity, and Teff from Stromgren colors
vactoair Convert vacuum wavelengths to air wavelengths
xyz Calculate geocentric X,Y, and Z and velocity coordinates of the Sun
ydn2md Convert from year and day number of year to month and day of month
ymd2dn Convert from year, month, day to day number of year
zang Determine the angular size of an object as a function of redshift