NAME

nuattcorr -- Correct NuSTAR attitude file

USAGE

nuattcorr attfile outattfile [parameter = < value >]

DESCRIPTION

'nuattcorr' corrects the attitude file for the offset between the spacecraft bus and the CHU4 coordinate system. The task applies the correction only to the data from the spacecraft bus, i.e. to the attitude file rows with 'SOURCE=2'. The offset is given by a quaternion read from the CALDB file 'chuoffsetfile'.

PARAMETERS

attfile [file name]
Name of the input Attitude File.

outattfile [file name]
Name of the Corrected Attitude File or NONE to overwrite the input file.

(chuoffsetfile = CALDB) [filename]
Name of the input CHUs Quaternion Offset File or CALDB.

(clobber=no) [boolean]
If set to yes, overwrite the output file.

(history=yes) [boolean]
If set to yes, write parameter values and other information in HISTORY blocks.

(chatter = 2) [integer]
Chatter Level (min=0, max=5).

EXAMPLES

  1. Apply the offset quaternion to the input attitude file 'nu40060001001_att.fits'. The corrected attitude file is written in the output file 'nu40060001001_att_corr.fits'.

     > nuattcorr attfile=nu40060001001_att.fits outattfile=nu40060001001_att_corr.fits
    

BUGS

SEE ALSO

LAST MODIFIED

October 2012