Skip to content

For making overview plots of the NuSTAR solar observations.

License

Notifications You must be signed in to change notification settings

ianan/nsigh_all

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A rough how to guide

This repo is mostly code/figures/data that gives an overview of the NuSTAR solar observations. So it is a rough guide to getting the NuSTAR data and then turning it into a useful format for solar work. For more details of how to use the data for solar analysis go to my NuSTAR Solar Analysis Code repo.

The files batch_ltc.pro and batch_maps.pro give examples of using the code to make the plots/info files.

For a nice webpage with plots summarising the NuSTAR solar observations, go to the GitHub pages version of this repo.

Requirements

For this to work you are going to need some (if not all) of the following installed:

And you should also look at:

What to do:

  • Download the data via HEASARC - one approach is to enter an observation date and the mission to be "NuSTAR", then the subsequent page gives all the targets from that day, the "SOL" ones being the solar ones. You should end up being able to directly download the directories or a wget script to do it. These will probably be compressed so a quick gunzip -r * is needed.
  • The files have been processed via the NuSTAR pipeline but as the solar observations are not a typical observation mode it would be wise to do this yourself from your own HEASoft/Nuproducts installation as the solar case. More info about what the NuSTAR software can do, as well as the directory structure and different files, is available in the NuSTAR Software Guide. An example of this for something in directory /data/20102011001/ would be nupipeline obsmode=SCIENCE_SC indir=/data/20102011001/ steminputs=nu20102011001 outdir=event_cl entrystage=1 exitstage=2 pntra=OBJECT pntdec=OBJECT statusexpr="STATUS==b0000xx00xx0xx000" cleanflick=no hkevtexpr=NONE clobber=yes . Or you could use a bash script like this to do it for you.
  • The resulting /data/20102011001/event_cl/nu20102011001A06_cl.evt and /data/20102011001/event_cl/nu20102011001B06_cl.evt are the main eventlist files for FPMA and FPMB respectively for this example observation. To make solar work easier we need to convert the coordinate system of these files from Right Ascension and Declination to Solar Heliographic coordinates. You can do this either in SSWIDL or with Python, with example code and scripts given at both links. An additional example script for running the SSWIDL code can be found here.
  • The resulting Solar Heliographic coordinate system files are then used to create the plots and info in this directory (via SSWIDL at the moment), and of course can be used for science as well, or can be quick viewed via software like ds9.
  • Presumably you now want to do something with your .evt files so have a look at my NuSTAR Solar Analysis Code repo.

About

For making overview plots of the NuSTAR solar observations.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published