cortecs

cortecs: A Python package for compressing opacities - Published in JOSS (2024)

https://github.com/arjunsavel/cortecs

Science Score: 100.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 1 DOI reference(s) in JOSS metadata
  • Academic publication links
    Links to: arxiv.org, joss.theoj.org
  • Committers with academic emails
    1 of 3 committers (33.3%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
    Published in Journal of Open Source Software

Keywords

astronomy atmospheres exoplanets radiative-transfer

Scientific Fields

Artificial Intelligence and Machine Learning Computer Science - 87% confidence
Mathematics Computer Science - 84% confidence
Last synced: 4 months ago · JSON representation ·

Repository

Compressed representations of opacity for radiative transfer!

Basic Info
Statistics
  • Stars: 4
  • Watchers: 1
  • Forks: 1
  • Open Issues: 10
  • Releases: 14
Topics
astronomy atmospheres exoplanets radiative-transfer
Created over 2 years ago · Last pushed over 1 year ago
Metadata Files
Readme License Code of conduct Citation

README.md

cortecs

status arXiv PyPI version Conda Version Tests codecov Maintainability License: MIT Code style: black pre-commit CodeQL Documentation Status Paper compilation GitHub repo size PyPI - Python Version

A Python package for decreasing the memory footprint of opacity functions. The primary functionality is compressing opacity functions with varying flexibility. Current methods include - polynomial fitting - PCA-based fitting - neural network fitting

All fits are currently made in along the temperature and pressure axes.

Additionally, cortecs can chunk up opacity functions. The radiative transfer problem can often be cast as embarassingly parallel, so each chunk can be sent to a different CPU.

Installation instructions

cortecs can be installed via pip: bash pip install cortecs

or conda: bash conda install -c conda-forge cortecs

or from source: bash git clone cd cortecs pip install -e . To install from source with optional neural network support: bash pip install -e .[neural_networks]

Owner

  • Name: Arjun Savel
  • Login: arjunsavel
  • Kind: user
  • Company: @astroumd

PhD candidate at UMD, College Park | exoplanet atmospheres 🪐

JOSS Publication

cortecs: A Python package for compressing opacities
Published
August 10, 2024
Volume 9, Issue 100, Page 6104
Authors
Arjun B. Savel ORCID
Astronomy Department, University of Maryland, College Park, 4296 Stadium Dr., College Park, MD 207842 USA, Flatiron Institute, Simons Foundation, 162 Fifth Avenue, New York, NY 10010, USA
Megan Bedell ORCID
Flatiron Institute, Simons Foundation, 162 Fifth Avenue, New York, NY 10010, USA
Eliza M.-r. Kempton ORCID
Astronomy Department, University of Maryland, College Park, 4296 Stadium Dr., College Park, MD 207842 USA
Editor
Ivelina Momcheva ORCID
Tags
astronomy radiative transfer

Citation (CITATION.cff)

cff-version: "1.2.0"
authors:
- family-names: Savel
  given-names: Arjun B.
  orcid: "https://orcid.org/0000-0002-2454-768X"
- family-names: Bedell
  given-names: Megan
  orcid: "https://orcid.org/0000-0001-9907-7742"
- family-names: Kempton
  given-names: Eliza M.-R.
  orcid: "https://orcid.org/0000-0002-1337-9051"
contact:
- family-names: Savel
  given-names: Arjun B.
  orcid: "https://orcid.org/0000-0002-2454-768X"
doi: 10.5281/zenodo.13208759
message: If you use this software, please cite our article in the
  Journal of Open Source Software.
preferred-citation:
  authors:
  - family-names: Savel
    given-names: Arjun B.
    orcid: "https://orcid.org/0000-0002-2454-768X"
  - family-names: Bedell
    given-names: Megan
    orcid: "https://orcid.org/0000-0001-9907-7742"
  - family-names: Kempton
    given-names: Eliza M.-R.
    orcid: "https://orcid.org/0000-0002-1337-9051"
  date-published: 2024-08-10
  doi: 10.21105/joss.06104
  issn: 2475-9066
  issue: 100
  journal: Journal of Open Source Software
  publisher:
    name: Open Journals
  start: 6104
  title: "cortecs: A Python package for compressing opacities"
  type: article
  url: "https://joss.theoj.org/papers/10.21105/joss.06104"
  volume: 9
title: "cortecs: A Python package for compressing opacities"

GitHub Events

Total
  • Watch event: 1
Last Year
  • Watch event: 1

Committers

Last synced: 5 months ago

All Time
  • Total Commits: 351
  • Total Committers: 3
  • Avg Commits per committer: 117.0
  • Development Distribution Score (DDS): 0.006
Past Year
  • Commits: 2
  • Committers: 2
  • Avg Commits per committer: 1.0
  • Development Distribution Score (DDS): 0.5
Top Committers
Name Email Commits
arjunsavel a****l@g****m 349
Dan F-M f****y@g****m 1
Arjun Savel a****l@l****u 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 4 months ago

All Time
  • Total issues: 15
  • Total pull requests: 23
  • Average time to close issues: 11 days
  • Average time to close pull requests: about 2 hours
  • Total issue authors: 1
  • Total pull request authors: 2
  • Average comments per issue: 0.73
  • Average comments per pull request: 1.0
  • Merged pull requests: 23
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • arjunsavel (13)
Pull Request Authors
  • arjunsavel (43)
  • dfm (2)
Top Labels
Issue Labels
enhancement (5) tests (2) documentation (2) packaging (1) bug (1)
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 28 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 10
  • Total maintainers: 1
pypi.org: cortecs

Compress opacity for radiative transfer

  • Versions: 10
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 28 Last month
Rankings
Dependent packages count: 7.5%
Forks count: 30.2%
Average: 36.6%
Stargazers count: 39.1%
Dependent repos count: 69.8%
Maintainers (1)
Last synced: 4 months ago

Dependencies

.github/workflows/codeql.yml actions
  • actions/checkout v3 composite
  • github/codeql-action/analyze v2 composite
  • github/codeql-action/autobuild v2 composite
  • github/codeql-action/init main composite
.github/workflows/python-package.yml actions
  • actions/checkout v3 composite
  • actions/setup-python v3 composite
setup.py pypi
.github/workflows/draft-pdf.yml actions
  • actions/checkout v3 composite
  • actions/upload-artifact v1 composite
  • openjournals/openjournals-draft-action master composite
.github/workflows/pythonpublish.yml actions
  • actions/checkout v2 composite
  • actions/setup-python v1 composite
docs/doc_requirements.txt pypi
  • h5py *
  • jax *
  • jaxlib *
  • keras *
  • markupsafe ==2.0.1
  • mock *
  • nbsphinx *
  • numpy *
  • pandas *
  • scipy *
  • sphinx_book_theme *
  • tensorflow *
  • tqdm *
environment.yml pypi