Skip to main content

gollum

Version 0.4.3

ascl:2503.015

A microservice for programmatic access to precomputed synthetic spectral model grids in astronomy.

gollum demo

The goal of this repo is to provide a Python Application Programming Interface (API) to several different synthetic spectral models. gollum will be built on the astropy affiliated package specutils, and will be inspired by the API design of lightkurve. This project is loosely related to the parallel muler framework that is built on specutils and focuses on data. This project is all about models. The code itself and will have some overlap with functionality in Starfish, and this project could one day become a microservice to Starfish, rather than duplicate code.

Dashboard

We have a human-in-the-loop interactive dashboard which allows users to compare data to models. The current version of the dashboard supports the Sonora-Bobcat 2021 Models and the PHOENIX model grid.

dashboard demo

This dashboard allows users to control sliders correlating with intrinsic properties (effective temperature, surface gravity, and metallicity) and extrinsic properties (rotational broadening, radial velocity, and a normalization scalar). From the selected intrinsic values, the dashboard can find the closest matching model (based on the closest existing point in a jagged 3D array of existing intrinsic values) and display it on screen so that the user can compare it with the real data. The data itself shows up as a blue plot, while the model is red, which will allow users to make by-eye fittings of the models to the data displayed.

There is some latency in the updating of the model's graph when the user moves certain sliders too quickly. This latency comes from the large amount of data points and the effect of the curse of dimensionality when it comes to the search for the nearest grid point based on intrinsic values that the dashboard must do with each update of the sliders. This latency mostly only applies when the user moves the sliders very quickly, however. More gradual movement of the sliders allows for relatively smooth updating of the model spectrum with minimal latency.

Cite this software:

@ARTICLE{gollum,
       author = {{Shankar}, Sujay and {Gully-Santiago}, Michael and {Morley}, Caroline and {Cao}, Jiayi and {Kaplan}, Kyle and {Kimani-Stewart}, Karina and {Gonzalez-Arg{\'u}eta}, Diana},
        title = "{gollum: An intuitive programmatic and visual interface for precomputed synthetic spectral model grids}",
      journal = {The Journal of Open Source Software},
     keywords = {astronomy, spectroscopy, stars, echelle, Jupyter Notebook, Python},
         year = 2024,
        month = aug,
       volume = {9},
       number = {100},
          eid = {6601},
        pages = {6601},
          doi = {10.21105/joss.06601},
       adsurl = {https://ui.adsabs.harvard.edu/abs/2024JOSS....9.6601S},
      adsnote = {Provided by the SAO/NASA Astrophysics Data System}
}

The package is under active development. Feel free to contibute by either raising issues here in GitHub or by submitting pull requests. If you have questions or need help, please also use GitHub issues to reach out to the development team and we will do our best to assist you.

Metadata

Release files for gollum 0.4.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for gollum 0.4.3
File Interpreter ABI Platform Actions
gollum-0.4.3-py3-none-any.whl Python 3 none any Details for gollum-0.4.3-py3-none-any.whl

Release files / gollum-0.4.3-py3-none-any.whl

Download URL gollum-0.4.3-py3-none-any.whl
Size 34.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dc71a4be9dc38ae0007f5806d16efd63de4ebafea01b3f8688c56ce53a0bd721
BLAKE2b-256 checksum
How to use checksums
d46efc20d37dd18aac7ac4ae5133a1f66730b37cc66bc58bf405e8ff6e134b08
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.5

Security for gollum 0.4.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page