Skip to content

jtvievering/nuskybgd

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nuskybgd is code for simulating the NuSTAR background the Cosmix X-ray
Background (CXB). It simulates the X-rays that are focued throught the
optic as well the "stray light" from the CXB that leaks in around the
optics bench and through the aperture stop.

In /docs there is a detailed documentation and walk through. Please
read this first before attempting to use this software.

This code was written by Dan Wik, and was originally described in the
appendix of the paper here:

http://adsabs.harvard.edu/cgi-bin/bib_query?arXiv:1403.2722

If you use nuskbygd, please reference this paper.

This code is offered "as is" for the user. Users should be warned that
using nuskbygd occasionally requires some tweaking of the scripts to
work for specific cases.

Please also note that nuskbygd relies (heavily) on the AstroLib, which
can be checked out here:

git clone https://github.com/wlandsman/IDLAstro.git astrolib-idl


UPDATE 8/28/2015

With this 'release', the use of the 'nuabs' XSpec model has been phased out
of nuskybgd routines, so it no longer needs to be installed as a local model.
Routines now assume that the absorption has been included directly in the
response matrices, WHICH IS NOT DONE in nuproducts/numkrmf routines.  The
new routine 'getspecrmf.pro' can extract spectral and RMF files appropriate 
for use with 'nuskybgd_fitab.pro', or the default routines (which the
'getspecnoarf.py' script calls) can be used to produce initial RMFs.  The
'addabs2rmf.pro' routine can then add the detector absorption to the RMFs --
just be sure to update the RESPFILE keyword in the spectra if the resulting
RMF filenames change.


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Prolog 49.5%
  • IDL 48.3%
  • Python 2.2%