-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cleanup of visibility (u,v) points definition (#98)
- Merged 'get_visibility_info_giordano' and 'get_visibility_info' into 'get_uv_points_data' - Removed 'correct_phase_projection' since it is not needed with the new definition of (u,v) points - Added 'test_visibility.py' (and removed 'test_visibility.bk') - Updated 'imaging_demo.py' to be consistent with the new definition of (u,v) points - Updated changelog and documentation - Add check for units of 'd_sep' and 'd_det' in 'get_uv_points_data'
- Loading branch information
1 parent
d72c4c1
commit c7bfbd0
Showing
13 changed files
with
98 additions
and
154 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Merged `stixpy.calibration.get_visibility_info_giordano` and `stixpy.calibration.get_visibility_info` into `stixpy.calibration.get_uv_points_data` and removed `stixpy.calibration.correct_phase_projection`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
.. _ calibration: | ||
|
||
Calibration ('stixpy.calibration') | ||
************************************** | ||
|
||
The ``calibration`` submodule contains functions for calibrating STIX data. | ||
|
||
.. automodapi:: stixpy.calibration | ||
|
||
.. automodapi:: stixpy.calibration.compression | ||
|
||
.. automodapi:: stixpy.calibration.detector | ||
|
||
.. automodapi:: stixpy.calibration.energy | ||
|
||
.. automodapi:: stixpy.calibration.grid | ||
|
||
.. automodapi:: stixpy.calibration.livetime | ||
|
||
.. automodapi:: stixpy.calibration.transmission | ||
|
||
.. automodapi:: stixpy.calibration.visibility |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,7 @@ Reference | |
:maxdepth: 2 | ||
|
||
data | ||
calibration | ||
timeseries | ||
science | ||
product | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import astropy.units as u | ||
|
||
from stixpy.calibration.visibility import get_uv_points_data | ||
|
||
|
||
def test_get_uv_points_data(): | ||
uv_data = get_uv_points_data() | ||
assert uv_data['u'][0] == -0.03333102271709666 / u.arcsec | ||
assert uv_data['v'][0] == 0.005908224739704219 / u.arcsec | ||
assert uv_data['isc'][0] == 1 | ||
assert uv_data['label'][0] == '3c' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters