Skip to content

XraySpectrum1D class #178

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 77 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
77 commits
Select commit Hold shift + click to select a range
c2e4cbc
First pass at XraySpectrum1D
eblur May 1, 2018
20c8b28
Can load an X-ray spectrum
eblur May 1, 2018
6ac1c08
Added attribute
eblur May 1, 2018
4571350
Added ARF and RMF objects
eblur May 2, 2018
a92bd09
Added assign_rmf and assign_arf methods
eblur May 2, 2018
7077dc7
Added exposure input
eblur May 2, 2018
9c8159d
Fixed bugs
eblur May 2, 2018
fb5f1b6
Updated docstrings
eblur May 2, 2018
a08d8ae
Store bin and energy units as astropy.units.Unit
eblur May 2, 2018
20ee61d
Added bin_lo and hi because wcs.bin_edges did not exist
eblur May 2, 2018
6cd49f0
Added apply_resp method
eblur May 2, 2018
9c08caa
Adjust apply_resp output if spectrum is stored by wavelength
eblur May 2, 2018
35d0932
Don't need bin_unit
eblur May 2, 2018
da39e47
Because pha-file wavelength is in reverse order, the output from appl…
eblur May 2, 2018
c5db843
added save_model_counts option
eblur May 2, 2018
291be38
Changed my mind on model_counts thing for now
eblur May 3, 2018
fcd9e25
Hard coded in a rest_value
eblur May 23, 2018
9349654
Merge branch 'master' of github.com:astropy/specutils into xrayspectrum
eblur May 23, 2018
fe8c1b5
Added unit to rest_value
eblur May 23, 2018
1c7f27d
Commented out distracting print statements
eblur May 23, 2018
c6f5aaa
Wrote tests
eblur May 24, 2018
c192935
Added docstrings
eblur May 24, 2018
3314f7d
Removed scipy dependence
eblur May 24, 2018
801e3b6
Spelled out acronyms, link to edu materials
Jun 1, 2018
4dff316
Added option to specify RMF FITS extension for response matrix
Jun 1, 2018
cdf3373
corrected typos
Jun 1, 2018
2e4724c
Removing superfluous returns and pass
Jun 1, 2018
a8a8245
Catch ValueError
Jun 1, 2018
5d4d52c
Spelled out ARF and RMF class names
Jun 1, 2018
a297c45
updated docstring
Jun 1, 2018
86f4a3b
Updated tests
Jun 1, 2018
769c923
initialize attributes to None before loading from file
Jun 12, 2018
a89af6b
save filename attribute for attempting load function
Jun 12, 2018
e27a0cd
Merge branch 'master' of github.com:astropy/specutils into xrayspectrum
Jun 12, 2018
7cf979f
Merge branch 'master' of github.com:eblur/specutils into xrayspectrum
eblur Dec 6, 2018
ccad80e
Merge branch 'xrayspectrum' of github.com:eblur/specutils into xraysp…
eblur Dec 6, 2018
dfb9475
First pass at XraySpectrum1D
eblur May 1, 2018
2fa2142
Can load an X-ray spectrum
eblur May 1, 2018
0f37ccd
Added attribute
eblur May 1, 2018
56612ca
Added ARF and RMF objects
eblur May 2, 2018
b7303e7
Added assign_rmf and assign_arf methods
eblur May 2, 2018
003b636
Added exposure input
eblur May 2, 2018
ce4349e
Fixed bugs
eblur May 2, 2018
753ab5e
Updated docstrings
eblur May 2, 2018
4f195e1
Store bin and energy units as astropy.units.Unit
eblur May 2, 2018
67493c5
Added bin_lo and hi because wcs.bin_edges did not exist
eblur May 2, 2018
7974939
Added apply_resp method
eblur May 2, 2018
7f54eae
Adjust apply_resp output if spectrum is stored by wavelength
eblur May 2, 2018
5eded3d
Don't need bin_unit
eblur May 2, 2018
6705068
Because pha-file wavelength is in reverse order, the output from appl…
eblur May 2, 2018
80d559d
added save_model_counts option
eblur May 2, 2018
73535d9
Changed my mind on model_counts thing for now
eblur May 3, 2018
e9be109
Hard coded in a rest_value
eblur May 23, 2018
baa613c
Added unit to rest_value
eblur May 23, 2018
56b4c1a
Commented out distracting print statements
eblur May 23, 2018
afb6333
Wrote tests
eblur May 24, 2018
a15b101
Added docstrings
eblur May 24, 2018
4ba7b58
Removed scipy dependence
eblur May 24, 2018
f5a996a
Spelled out acronyms, link to edu materials
Jun 1, 2018
eed588c
Added option to specify RMF FITS extension for response matrix
Jun 1, 2018
0fa3718
corrected typos
Jun 1, 2018
aa45811
Removing superfluous returns and pass
Jun 1, 2018
674ae64
Catch ValueError
Jun 1, 2018
029f8ab
Spelled out ARF and RMF class names
Jun 1, 2018
2590b7a
updated docstring
Jun 1, 2018
f6b66f5
Updated tests
Jun 1, 2018
4111295
initialize attributes to None before loading from file
Jun 12, 2018
8a1aa62
save filename attribute for attempting load function
Jun 12, 2018
4afde8f
[skip ci] provide xrayspectrum1d
eblur Dec 6, 2018
5ec1428
Merge branch 'xrayspectrum' of github.com:eblur/specutils into xraysp…
eblur Dec 6, 2018
90f8ad6
specutils flux input needs units
eblur Dec 6, 2018
fa80d24
attempting to fix docstrings
eblur Dec 6, 2018
f14e9af
further docstring fixes for sphinx
eblur Dec 6, 2018
eecce75
added extension keyword to _load_arf
eblur Dec 7, 2018
bdc5a41
updated init and load calls with extension keyword
eblur Dec 7, 2018
3fef5b9
XraySpectrum1d uses astropy.Quantity for all inputs
eblur Dec 7, 2018
8b4b945
tested xrayspectrum1d with quantity inputs
eblur Dec 7, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions specutils/spectra/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@
from .spectral_region import * # noqa
from .spectrum_collection import * #noqa
from .spectrum_list import * #noqa

from .xrayspectrum1d import *
Loading