idlastro

Astronomical Utilities

ADSTRINGFormat RA and DEC as a character string
AIRTOVACConvert air wavelengths to vacuum wavelengths
AITOFFConvert longitude,latitude to X,Y using Aitoff equal-area projection
AITOFF_GRIDCreate an overlay grid using the AITOFF projection
ALTAZ2HADECConvert Horizon (Alt-Az) coordinates to Hour Angle and Declination
ARCBARDraw an arcbar over an image showing the astronomical plate scale
ARROWSGiven a FITS header, display a "weathervane" showing N-E orientation
ASTDISPDisplay formatter for pixel + astronomical coordinates
ASTROInteractive driver to compute astronomical precession, or coordinate conversions (calls EULER and PRECESS).
BARYVELCompute components of barycentric Earth velocity, given Julian date
BPRECESSPrecess coordinates, proper motion from J2000 to B1950
CALZ_UNREDDeredden a galaxy spectrum using the Calzetti et al. (2000) formula
CCM_UNREDDeredden a spectrum using the Cardelli, Clayton and Mathis (1989) parameterization.
CO_ABERRATIONCalculate changes to Ra and Dec due to aberration effects
CO_NUTATECalculate changes in RA and Dec due to nutation of the Earth's rotation
CO_REFRACTCalculate correction to altitude due to atmospheric refraction
COSMO_PARAMDerive a full set of cosmological parameters given a subset
CT2LSTConvert from civil time to local sidereal time
DATEConvert day of year to a DY-MON-CCYY string (FITS standard)
DATE_CONVFunction to perform various date format conversions
DAYCNVConvert from Julian Date to calendar date.
DEREDDDeredden Stromgren indices (called by UVBYBETA)
ECI2GEOConvert Earth-centered inertial coordinates to geographic coords
EQ2HORConvert celestial (ra-dec) coords to local horizon coords (alt-az).
EQPOLEConvert longitude,latitude to X,Y using polar equal-area projection
EULERAstronomical coordinate system conversions
FLUX2MAGConvert from flux units to magnitudes
FM_UNREDDeredden a spectrum using the Fitzpatrick & Massa (1998) parameterization.
GAL_UVWCalculate the Galactic space velocity (U,V,W) of a star
GAL_FLATCorrect a galaxy image for inclination effects.
GALAGEDerive a galaxy age as a function of redshift for a cosmological model
GCIRCCompute rigorous great circle distance
GEO2ECIConvert geographic coordinates to Earth-centered inertial coords
GEO2GEODETICConvert from geographic to geodetic coordinates
GEO2MAGConvert from geographic to geomagnetic coordinates
GEODETIC2GEOConvert from geodetic to geographic coordinates
GET_COORDSRead in angular input in decimal or sexigesimal format
GET_DATEGet the current date in CCYY-MM-DD format (FITS standard)
GET_JULDATEGet the current Julian date as a double precision scalar
GLACTCConvert between Galactic (or SuperGalactic) and equatorial coordinates
GLACTC_PMConvert between celestial and Galactic (or Supergalactic) proper motion
HADEC2ALTAZConverts Hour Angle and Declination to Horizon (alt-az) coordinates
HELIOCompute (low-precision) heliocentric coordinates of the planets
HELIO_JDConvert geocentric (reduced) Julian date to heliocentric Julian date
HELIO_RVCompute radial velocity given binary star orbit parameters
HOR2EQConvert local horizon coords (alt-az) to equatorial (ra-dec).
IMCONTOURContour plots with astronomical labeling (either RA,Dec or arc distance from the image center
IMFReturn values for a multi-component power law initial mass function
ISMEUVCompute EUV optical depth due to photoionization of HI, HeI and HeII
JDCNVConvert from calendar date to Julian date.
JPRECESSPrecess positions & proper motions from B1950 to J2000
JULDATEConvert from calendar date to reduced Julian date.
LSF_ROTATECreate a 1-d convolution kernel to broaden a spectrum from a rotating star
LUMDISTReturn luminosity distance for a given redshift & cosmological model
MAG2GEOConvert from geomagnetic to geographic coordinates
MAG2FLUXConvert from magnitudes to flux units
MONTH_CNVConvert a month name to the equivalent number or vice-versa
MOONPOSCompute the RA and Dec (and distance) of the Moon at a given date
MPHASECompute illuminated fraction of the Moon's disk for given Julian dates
NUTATECompute the nutation in longitude and latitude for given Julian date(s)
OBSERVATORYReturn coordinates, altitude & time zones of an observatory
PLANCKReturns a blackbody flux for a given effective temperature
PLANET_COORDSReturn low-precision RA and Dec of planets give a date(s)
POSANGCompute the position angle between sources of specified RA and Dec
PRECESSPrecess RA and Dec to a new equinox
PRECESS_CDPrecess the PC (or CD) matrix in a FITS header to a new equinox
PRECESS_XYZPrecess equatorial geocentric rectangular coordinates
PREMATReturns precession matrix from equinox 1 to equinox 2
RADECFormat RA, Dec as Hours,Min,Sec,Deg,Min,Sec
SIXTYConvert decimal number to sexigesimal
SUNPOSCompute the RA and Dec of the Sun at a given date
TENConvert sexigesimal number to decimal
TENVLike TEN but will work on a vector of sexigesimal numbers.
TICPOSSpecify distance between tic marks for astronomical coordinates
TICLABELSCreate labels for astronomical coordinate tick marks
TICSCompute the optimum distance between tic marks for astronomical labeling
TIC_ONEDetermine optimum position of the first tic in astronomical labeling
UVBYBETAUse Stromgren indices to derive dereddened colors, metallicity, and effective Temperature.
VACTOAIRConvert vacuum wavelengths to air wavelengths.
XYZCompute heliocentric rectangular coordinates at given Julian date.
YMD2DNConvert year,month,day to day number of the year (in /jhuapl)
YDN2MDConvert day number of the year to year, month,day
ZANGCompute angular size as a function of redshift in a Friedman cosmology
ZENPOSCompute the RA and Dec of the local zenith at a given date