Skip to content

Commit

Permalink
MIRI and NIRcam PSF photometry with spacephot (#173)
Browse files Browse the repository at this point in the history
* Update ci_html_build.yml

miri lrs extraction techniques

url path

directory name

included techniques with standard star

updated with pipeline commands

Delete miri_lrs_extraction_techniques.ipynb

Delete miri_lrs_extraction_techniques_standard.ipynb

Delete miri_lrs_specreduce.ipynb

updated requirements

[BOT] Left PEP8 feedback on PR 93's notebooks

Files:

[BOT] Left PEP8 feedback on PR 93's notebooks

Files:

[BOT] Left PEP8 feedback on PR 93's notebooks

Files:

[BOT] Left PEP8 feedback on PR 93's notebooks

Files:

[BOT] Left PEP8 feedback on PR 93's notebooks

Files:

[BOT] Left PEP8 feedback on PR 93's notebooks

Files:

Fix some of the style errors to trigger new CI

[BOT] Left PEP8 feedback on PR 93's notebooks

Files:

Fix style errors

[BOT] Left PEP8 feedback on PR 93's notebooks

Files:

pep 8 edits

[BOT] Left PEP8 feedback on PR 93's notebooks

Files:

more pep8 changes

[BOT] Left PEP8 feedback on PR 93's notebooks

Files:

Add dependency descriptions

moved crds stuff

moved import os

[BOT] Left PEP8 feedback on PR 93's notebooks

Files:

moved import os

[BOT] Left PEP8 feedback on PR 93's notebooks

Files:

Remove bot messages

new 87a notebooks

new psf photometry notebooks

deleted files added by mistake:wq

addressed science review

photutils notebook

* address larry's edits

* added some documentation on comparison of space_phot to photutils

* first pass at styling

* second pass on styling

* third pass styling

* resolved styling

* one last style change

* updated comparison of photometry

* resolve execution errors

* remove pre-rebase files since they have moved to new directories

* fix bandit issues and styling

* fix styling and imports

* add import, fix bandit and styling

* fix styling and syntax

* fix styling

* fix styling

* update import

* update styling/whitespace

* final styling

* add import

* add import

---------

Co-authored-by: M.Gough <[email protected]>
Co-authored-by: Ori Fox <[email protected]>
Co-authored-by: gibsongreen <[email protected]>
  • Loading branch information
4 people authored Nov 21, 2024
1 parent 0129d9c commit 9f8d6e3
Show file tree
Hide file tree
Showing 14 changed files with 7,192 additions and 4 deletions.
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,15 @@ __pycache__/
# C extensions
*.so



# FITS files
*.fits





# Distribution / packaging
.Python
build/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"**Cross-intrument:** NIRSpec, MIRI.<br>\n",
"**Documentation:** This notebook is part of a STScI's larger [post-pipeline Data Analysis Tools Ecosystem](https://jwst-docs.stsci.edu/jwst-post-pipeline-data-analysis) and can be [downloaded](https://github.com/spacetelescope/dat_pyinthesky/tree/main/jdat_notebooks/MRS_Mstar_analysis) directly from the [JDAT Notebook Github directory](https://github.com/spacetelescope/jdat_notebooks).<br>\n",
"\n",
"\n",
"### Introduction: Spectral extraction in the JWST calibration pipeline\n",
"\n",
"The JWST calibration pipeline performs spectrac extraction for all spectroscopic data using basic default assumptions that are tuned to produce accurately calibrated spectra for the majority of science cases. This default method is a simple fixed-width boxcar extraction, where the spectrum is summed over a number of pixels along the cross-dispersion axis, over the valid wavelength range. An aperture correction is applied at each pixel along the spectrum to account for flux lost from the finite-width aperture. \n",
Expand Down Expand Up @@ -144,7 +145,7 @@
"if not os.path.exists(\"data/\"):\n",
" print(\"Unpacking Data\")\n",
" with tarfile.open('./data.tar.gz', \"r:gz\") as tar:\n",
" tar.extractall()"
" tar.extractall(filter='data')"
]
},
{
Expand Down
3 changes: 1 addition & 2 deletions notebooks/MIRI/MIRI_LRS_spectral_extraction/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
jdaviz >= 3.6.0
astropy >= 5.3.1
jwst >= 1.11.3
specreduce >= 1.3.0

specreduce >= 1.3.0
Loading

0 comments on commit 9f8d6e3

Please sign in to comment.