Skip to content

Commit 60bea36

Browse files
committed
Merge pull request #1 from bwgref/master
Check in of stable version of nuskbygd
2 parents 1a9002a + 2b9ade0 commit 60bea36

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+7237
-1
lines changed

README

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
nuskybgd is code for simulating the NuSTAR background the Cosmix X-ray
2+
Background (CXB). It simulates the X-rays that are focued throught the
3+
optic as well the "stray light" from the CXB that leaks in around the
4+
optics bench and through the aperture stop.
5+
6+
In /docs there is a detailed documentation and walk through. Please
7+
read this first before attempting to use this software.
8+
9+
This code was written by Dan Wik, and was originally described in the
10+
appendix of the paper here:
11+
12+
http://adsabs.harvard.edu/cgi-bin/bib_query?arXiv:1403.2722
13+
14+
If you use nuskbygd, please reference this paper.
15+
16+
This code is offered "as is" for the user. Users should be warned that
17+
using nuskbygd occasionally requires some tweaking of the scripts to
18+
work for specific cases.
19+
20+
Please also note that nuskbygd relies (heavily) on the AstroLib, which
21+
can be checked out here:
22+
23+
git clone https://github.com/wlandsman/IDLAstro.git astrolib-idl
24+
25+
26+

README.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

auxil/._nuabs

176 Bytes
Binary file not shown.

auxil/be.arf

Lines changed: 127 additions & 0 deletions
Large diffs are not rendered by default.

auxil/bgdfitparamsA.dat

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
1.0000E+00 # Factor relative to reference norm of PL for aperture component
2+
1.7300E-04 # Norm of PL in CXB xspec model for entire FOV
3+
# Norms of instrumental line components for 4 detectors: 0 1 2 3
4+
1.43445E-03 1.50726E-03 2.15216E-03 1.50485E-03
5+
7.32526E-04 6.23066E-04 1.73885E-03 1.33305E-03
6+
3.23022E-05 6.38838E-18 3.97944E-04 5.05885E-04
7+
1.35376E-04 2.63465E-05 1.00777E-04 1.95991E-04
8+
3.39221E-04 2.61833E-04 4.63036E-04 8.02283E-04
9+
4.34728E-04 3.45635E-04 3.97302E-04 5.16245E-04
10+
3.15271E-03 2.55700E-03 4.22371E-03 5.51261E-03
11+
1.06995E-03 8.65999E-04 7.82689E-04 6.70467E-04
12+
2.41784E-03 2.03409E-03 1.20129E-20 2.17344E-19
13+
1.08602E-16 3.18662E-15 4.76755E-03 4.56988E-03
14+
3.37731E-03 3.66962E-03 2.31102E-03 2.48825E-03
15+
1.47114E-03 1.21028E-03 1.86650E-03 2.09115E-03
16+
4.45164E-03 4.43588E-03 3.82681E-03 3.58903E-03
17+
1.51049E-03 1.28358E-03 1.65452E-03 1.94113E-03
18+
7.73722E-04 8.60190E-04 8.59988E-04 6.14702E-04
19+
5.55361E-03 3.50430E-03 6.97085E-03 7.29231E-03
20+
7.35801E-04 6.83207E-04 7.44000E-04 1.01799E-03
21+
4.06126E-03 2.99158E-03 4.43754E-03 4.04712E-03
22+
1.70422E-03 1.37031E-03 1.83827E-03 2.16894E-03
23+
1.86795E-03 1.27805E-03 2.02712E-03 2.72085E-03
24+
3.69282E-03 2.60731E-03 4.33577E-03 5.44148E-03
25+
6.72843E-04 8.06981E-04 5.56646E-04 8.54608E-04
26+
3.69152E-03 5.43753E-03 3.46164E-03 5.51323E-03
27+
4.48444E-03 4.84277E-03 5.61456E-03 5.55625E-03
28+
2.82405E-03 2.64051E-03 1.88671E-03 2.10907E-03
29+
1.97551E-03 1.99547E-03 1.48792E-03 1.61273E-03
30+
8.53172E-04 1.04918E-03 5.39054E-04 6.91851E-04
31+
9.10347E-04 1.51619E-03 2.50653E-04 6.34181E-04
32+
4.61422E-03 4.52735E-03 2.97459E-03 3.27095E-03
33+
# Norms of low energy apec component for 4 detectors: 0 1 2 3
34+
2.11015E-01 1.79366E-01 2.05212E-01 3.53650E-01
35+
# Norms of instrumental continua for 4 detectors: 0 1 2 3
36+
5.66517E-04 5.97936E-04 5.77693E-04 6.31412E-04

auxil/bgdfitparamsB.dat

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
1.0000E+00 # Factor relative to reference norm of PL for aperture component
2+
1.7300E-04 # Norm of PL in CXB xspec model for entire FOV
3+
# Norms of instrumental line components for 4 detectors: 0 1 2 3
4+
1.65621E-03 1.62752E-03 1.47117E-03 2.28166E-03
5+
1.63390E-03 1.17334E-03 8.38827E-04 1.70520E-03
6+
2.77013E-04 1.74977E-04 1.32940E-04 3.15236E-04
7+
5.98674E-05 5.58743E-05 1.45746E-04 9.67677E-05
8+
2.63659E-04 3.82365E-04 4.86913E-04 3.41468E-04
9+
3.87465E-04 3.84337E-04 5.25127E-04 3.90465E-04
10+
2.81541E-03 3.09947E-03 3.62048E-03 2.96573E-03
11+
1.15317E-03 1.13236E-03 1.28936E-03 1.04390E-03
12+
2.06298E-03 2.24463E-03 2.35352E-03 2.23354E-03
13+
6.99627E-20 6.99627E-20 6.99627E-20 6.99627E-20
14+
3.76338E-03 3.55256E-03 3.45831E-03 3.38079E-03
15+
1.21976E-03 1.09636E-03 1.38213E-03 1.28245E-03
16+
4.41966E-03 4.61658E-03 4.53475E-03 4.24173E-03
17+
1.63897E-03 1.53426E-03 1.49425E-03 1.46201E-03
18+
8.26945E-04 7.94700E-04 7.07932E-04 7.92166E-04
19+
5.71224E-03 5.31771E-03 5.72864E-03 5.89434E-03
20+
7.18980E-04 7.63242E-04 8.59733E-04 8.51869E-04
21+
3.67128E-03 3.75661E-03 3.65606E-03 3.81023E-03
22+
1.47967E-03 1.55562E-03 1.69364E-03 1.63097E-03
23+
1.75822E-03 1.81408E-03 1.65840E-03 1.88671E-03
24+
3.08879E-03 2.95611E-03 3.66352E-03 3.82280E-03
25+
7.33145E-04 7.03009E-04 5.53394E-04 6.44609E-04
26+
3.55763E-03 3.00215E-03 3.80227E-03 4.31235E-03
27+
4.45810E-03 3.92232E-03 4.22516E-03 3.66729E-03
28+
2.67710E-03 2.88830E-03 2.64644E-03 2.88870E-03
29+
1.96339E-03 2.08615E-03 2.00455E-03 2.05662E-03
30+
8.96762E-04 9.27371E-04 8.98513E-04 1.05425E-03
31+
5.65081E-04 7.25065E-04 7.31403E-04 7.55049E-04
32+
4.76108E-03 4.89667E-03 4.30414E-03 4.86692E-03
33+
# Norms of low energy apec component for 4 detectors: 0 1 2 3
34+
2.33829E-01 2.19812E-01 1.63645E-01 2.21286E-01
35+
# Norms of instrumental continua for 4 detectors: 0 1 2 3
36+
5.57832E-04 5.34171E-04 5.51789E-04 5.48096E-04

auxil/detA_det1.img

1.27 MB
Binary file not shown.

auxil/detB_det1.img

1.27 MB
Binary file not shown.

auxil/detnumA.fits

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

auxil/detnumB.fits

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)