COS Walkthrough Notebooks

The Cosmic Origins Spectrograph (COS) team has created a series of interactive Jupyter Notebooks to walk users through common procedures for working with COS data products. These notebooks are intended for COS users of any experience level. We encourage you to use them, adapt them, and share them with your peers, colleagues, and students. 

They can be accessed through the spacetelescope/hst_notebooksGitHub repository in the subdirectory notebooks/COS, as well as in the table below of currently operational notebooks.  

Please visit the COS Notebooks website for additional details on installation, setup, and updates.

You can also view our iPoster from the 238th conference of the AAS.

 

Currently Operational Notebooks

NameTopic

Notebook File

 (ipynb)

Rendered File

 (HTML)
SetupSetting up your computer environment to work with COS dataSetup.ipynbSetup.html
DataDIDownloading COS Data from the archiveDataDI.ipynbDataDI.html
ViewDataBeginning to work with COS data in Python: plotting, binning, calculating SNR, & evaluating a spectrumViewData.ipynbViewData.html
AsnFileModifying or creating an association fileAsnFile.ipynbAsnFile.html
CalCOSRunning the COS pipeline (CalCOS)CalCOS.ipynbCalCOS.html

SplitTag

Breaking COS TIME-TAG data into multiple sub-exposuresSplitTag.ipynb

SplitTag.html

DayNightFiltering out COS data taken during the day or nightDayNight.ipynbDayNight.html
LSFWorking with the COS Line Spread Function (LSF)LSF.ipynbLSF.html
ExtractEditing the extraction boxes in a BOXCAR-method spectral extraction file (XTRACTAB)Extract.ipynbExtract.html
ExceptionReport Investigating the cause of a Hubble Space Telescope (HST) Exception ReportExceptionReport.ipynbExceptionReport.html

 

Last Updated: 12/20/2024

HST Help Desk

Please contact the HST Help Desk with any questions. 

close