{"id":31844344,"url":"https://github.com/hover2pi/specialsoss","last_synced_at":"2025-10-12T07:09:02.304Z","repository":{"id":40985040,"uuid":"152112781","full_name":"hover2pi/specialsoss","owner":"hover2pi","description":"SPECtral Image AnaLysis for SOSS","archived":false,"fork":false,"pushed_at":"2022-12-26T20:46:35.000Z","size":227859,"stargazers_count":1,"open_issues_count":5,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2023-04-01T11:12:39.750Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hover2pi.png","metadata":{"files":{"readme":"README.rst","changelog":"HISTORY.rst","contributing":"CONTRIBUTING.rst","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-10-08T16:36:32.000Z","updated_at":"2022-11-30T18:48:45.000Z","dependencies_parsed_at":"2023-01-31T01:31:03.637Z","dependency_job_id":null,"html_url":"https://github.com/hover2pi/specialsoss","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"purl":"pkg:github/hover2pi/specialsoss","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hover2pi%2Fspecialsoss","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hover2pi%2Fspecialsoss/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hover2pi%2Fspecialsoss/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hover2pi%2Fspecialsoss/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hover2pi","download_url":"https://codeload.github.com/hover2pi/specialsoss/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hover2pi%2Fspecialsoss/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279010642,"owners_count":26084783,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-12T02:00:06.719Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-10-12T07:08:59.407Z","updated_at":"2025-10-12T07:09:02.295Z","avatar_url":"https://github.com/hover2pi.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"===========\nspecialsoss\n===========\n\n\n.. image:: https://img.shields.io/pypi/v/specialsoss.svg\n        :target: https://pypi.python.org/pypi/specialsoss\n\n.. image:: https://img.shields.io/travis/hover2pi/specialsoss.svg\n        :target: https://travis-ci.org/hover2pi/specialsoss\n\n.. image:: https://readthedocs.org/projects/specialsoss/badge/?version=latest\n        :target: https://specialsoss.readthedocs.io/en/latest/?badge=latest\n        :alt: Documentation Status\n\n.. image:: https://img.shields.io/coveralls/github/hover2pi/specialsoss.svg\n        :target: https://coveralls.io/github/hover2pi/specialsoss\n\n.. image:: https://pyup.io/repos/github/hover2pi/specialsoss/shield.svg\n     :target: https://pyup.io/repos/github/hover2pi/specialsoss/\n     :alt: Updates\n\n\nSPECtral Image AnaLysis for SOSS\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nAuthors: Joe Filippazzo\n\nThis pure Python 3.6+ package performs optimal spectral extraction routines\nfor the Single Object Slitless Spectroscopy (SOSS) mode of the\nNear-Infrared Imager and Slitless Spectrograph (NIRISS) instrument\nonboard the James Webb Space Telescope (JWST).\n\nAdditional resources:\n\n- `Full documentation \u003chttps://specialsoss.readthedocs.io/en/latest/\u003e`_\n- `Jupyter notebook \u003chttps://github.com/spacetelescope/specialsoss/blob/master/notebooks/specialsoss_demo.ipynb\u003e`_\n- `Build history \u003chttps://travis-ci.org/hover2pi/specialsoss\u003e`_\n\n\nExtracting Spectra from SOSS Observations\n-----------------------------------------\n\nThe headers in JWST data products provide almost all the information\nneeded to perform the spectral extraction, making the path to your data\nthe only required input. To load your SOSS exposure, simply do\n\n.. code:: python\n\n   # Imports\n   import numpy as np\n   from specialsoss import SossExposure\n   from pkg_resources import resource_filename\n\n   # Load the exposure\n   file = resource_filename('specialsoss', 'files/SUBSTRIP256_CLEAR_uncal.fits')\n   obs = SossExposure(file)\n\nNow we can scroll through the ingested data by plotting the frames.\n\n.. code:: python\n\n   obs.plot_frames()\n\n.. figure:: specialsoss/files/images/plot_frames.png\n   :alt: SOSS Frames\n\nTo run a spectral extraction routine, use the `extract` method with\nthe name of the routine you would like to use. In this example, we'll\nuse the vanilla column sum extraction.\n\n.. code:: python\n\n   obs.extract('sum', 'uncal')\n\nFinally, we can see the extracted time-series spectra and the monochromatic lightcurves with:\n\n.. code:: python\n\n   obs.plot_results()\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhover2pi%2Fspecialsoss","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhover2pi%2Fspecialsoss","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhover2pi%2Fspecialsoss/lists"}