NuSTAR Python Subtroutines to convert to heliocentric coordinates
- nustar_pysolar.convert.convert_file(infile, **kwargs)
Wrapper to read the input file, convert the data to solar coordinates and then write the output file.
Inputs:
Path to the file to be converted. Code assumes this is generated by nupipeline and so will have an “.evt” suffix.
Outputs:
Genreates a new FITS file in the same location as the input file but with a _sunpos.evt suffix
Usage:
convert_file(‘path/to/file/nuXXXA06_cl.evt’)
- nustar_pysolar.convert.to_solar(evtdata, hdr, **kwargs)