| delaytime | stsdas.analysis.timeseries | delaytime |
delaytime -- Correct for light delay time.
delaytime infile outfile earth_ephem obs_ephem mu_ra mu_dec distance dist_unit
The High Speed Photometer (HSP) aboard the Space Telescope is capable of timing observations to a temporal resolution of 10 milliseconds. The effects on the observed times of both the orbital motions of the Earth and the telescope may need to be corrected using times to the solar-system barycenter. This routine creates a file of observation times corrected for light delay from three sources: (1) general relativistic effects (up to 2 milliseconds), (2) displacement of the telescope from the center of the Earth (up to 20 milliseconds), (3) and displacement of the Earth from the solar-system barycenter (up to 500 seconds).
This task can simultaneously process several input files. Because this task requires that the user specify a target's proper motion and parallax, all input files should be for either the same target or for distant targets (such as extragalactic objects). The maximum time delay due to proper motions is 2.4 milliseconds per arcsecond of position displacement and 1.2 milliseconds per arcsecond of parallax.
Time accuracy is preserved by using double precision data in the output file. The pixel values in the output file are time offsets (in seconds) from a reference time defined by the output file header keyword REFMJD (in modified Julian date).
'X' X component of the state vector (double). 'Y' Y component of the state vector (double). 'Z' Z component of the state vector (double). And the following parameters: 'FIRSTMJD' Epoch of the first row in the table, in modified Julian date (double). 'GRID' Epoch interval between successive rows in the table, in days (double). 'LASTMJD' Epoch of the last row in the table, in modified Julian date (double). 'GRIDUNIT' Unit of the grid (char).
'X' X component of the state vector (double). 'Y' Y component of the state vector (double). 'Z' Z component of the state vector (double). And the following parameters: 'FIRSTMJD' Epoch of the first row in the table, in modified Julian date (double). 'GRID' Epoch interval between successive rows in the table, in days (double). 'LASTMJD' Epoch of the last row in the table, in modified Julian date (double). 'GRIDUNIT' Unit of the grid (char).
1. Construct a file containing the time tags corrected to the barycenter of the solar system, form the input file abc.d0h. Use the Earth ephemeris timeseries$de200 and the HST ephemeris hst.tab. Assume that the target has zero proper motion and parallax.
ti> delaytime abc.d0h output timeseries$de200 hst.tab 0 0 0 "arcsec"