Skip to content
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

New routine: ocrreject_exam() #169

Merged
merged 27 commits into from
Jan 27, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
84d1685
Initial addition of ocrreject_exam
m-dallas May 22, 2024
e13bf3b
Added plotting functionality
m-dallas May 28, 2024
584e03c
Updated call_ocrreject_exam()
m-dallas Jun 6, 2024
1f02804
Improved ocrrej_exam naming conventions and docstrings
m-dallas Jun 18, 2024
c9804f4
Cleaned up docstrings
m-dallas Jun 20, 2024
9acb4ab
Centered plot labels inbetween values for clarity
m-dallas Jun 20, 2024
4bb00c1
Added plotly functionality for stack plot
m-dallas Oct 11, 2024
6775bb4
Added interactive split plot functionality
m-dallas Oct 15, 2024
86d2f15
Added flt and sx1 arguments instead of just obsid
m-dallas Oct 15, 2024
8bb2f72
Updated plotting colors
m-dallas Oct 16, 2024
32c6fd4
removed unnecessary imports
m-dallas Oct 16, 2024
7d0ae68
Added custom exception for BoxExtended
m-dallas Oct 16, 2024
d6761bb
Added custom exception for BoxExtended
m-dallas Oct 16, 2024
46904f9
Made plot_dir a string in figure creation
m-dallas Oct 16, 2024
85ebfe3
Added more logic for mutually exclusive arguments
m-dallas Oct 16, 2024
93aa0c0
Added more colors to colorlist to cover all crsplit ranges
m-dallas Oct 17, 2024
0caf3df
fixed command line call syntax
m-dallas Dec 3, 2024
42537cd
Allowed multiple obsids, changed call_ocrreject_exam syntax, updated …
m-dallas Dec 6, 2024
584bf46
Removed debugging line and clarified docstrings
m-dallas Dec 9, 2024
c7cc536
Fixed data_dir default from None to '.'
m-dallas Dec 9, 2024
ebb166b
Added beginning of testing infrastructure
m-dallas Dec 9, 2024
002a4fb
Documentation update
m-dallas Dec 9, 2024
ee1045c
Started adding tests
m-dallas Dec 9, 2024
7260942
Added test for occreject_exam
m-dallas Dec 10, 2024
7d86b64
Changed np.float results to floats for consistency
m-dallas Jan 9, 2025
68c7b67
Added check for non CCD/ACCUM/CRSPLIT or NRPTEXP datasets
m-dallas Jan 9, 2025
635420b
Formatted using pylint
m-dallas Jan 27, 2025
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
1 change: 1 addition & 0 deletions doc/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ for getting started.
inttag
mktrace
ocrreject
ocrreject_exam
radialvel
r_util
sshift
Expand Down
11 changes: 11 additions & 0 deletions doc/source/ocrreject_exam.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
.. _ocrreject_exam:

**************************
ocrreject_exam
**************************

.. currentmodule:: stistools.ocrreject_exam

.. automodule:: stistools.ocrreject_exam
:members:
:undoc-members:
Binary file added doc/source/odvkl1040_splits.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/source/odvkl1040_stacked.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ dependencies = [
"stsci.tools",
"pysiaf",
"astroquery",
"matplotlib",
]
dynamic = [
"version",
Expand Down Expand Up @@ -48,6 +49,7 @@ docs = [

[project.scripts]
add_stis_s_region = "stistools.add_stis_s_region:call_main"
ocrreject_exam = "stistools.ocrreject_exam:call_ocrreject_exam"

[build-system]
requires = [
Expand Down
1 change: 1 addition & 0 deletions stistools/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
from . import tastis
from . import ctestis
from . import defringe
from . import ocrreject_exam

# These lines allow TEAL to print out the names of TEAL-enabled tasks
# upon importing this package.
Expand Down
Loading