CCD Photometry with Mathematica

Introduction Reduction Conversions Dates Display Image Headers Image Load Image Save Photometry

Table of Contents

CCDPhotometry`Conversions`

This package contains functions for determining parameters necessary for the calculation of the heliocentric Julian date.

EarthCoordinates[{h, m, s},{d, min, sec}] x, y, z coordinates of the earth in a heliocentric coordinate system.
SourceCoordinates[{h, m, s},{d, min, sec}] x, y, z coordinates of the source object in a heliocentric coordinate system.

Converting geocentric coordinates into heliocentric coordinates

HeliocentricRA[modjuldate] The right ascension of the earth in a heliocentric coordinate system, given the modified Julian date.
HeliocentricDEC[modjuldate] The declination of the earth in a heliocentric coordinate system, given the modified Julian date.

Calculating the heliocentric coordinates of the earth

This loads the package

In[1]:=

Needs["CCDPhotometry`Conversions`"]

In[2]:=

Needs["CCDPhotometry`Dates`"]

Here are the heliocentric x, y, z coordinates of the earth

In[3]:=

EarthCoordinates[{23, 23, 8.8}, {18, 24, 59.}]

Out[3]=

{0.936545, -0.151911, 0.31592}

Here are the heliocentric x, y, z coordinates of a source object

In[4]:=

SourceCoordinates[{23, 23, 8.8}, {18, 28, 59.}]

Out[4]=

{0.936182, -0.151852, 0.317024}

Here is the right ascension of the earth in hours.

In[5]:=

HeliocentricRA[ModifiedJulianDate[Date[]]]

Out[5]=

{16, 16, 6.1296}

Here is the declination of the earth in degrees.

In[6]:=

HeliocentricDEC[ModifiedJulianDate[Date[]]]

Out[6]=

{21, 17, 26.4615}

HOME


Created by Mathematica  (October 24, 2004) Valid XHTML 1.1!