Skip to main content

An intuitive programmatic and visual interface for precomputed synthetic spectral model grids

Project description

gollum

v0.4.1

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.

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gollum-0.4.1.tar.gz (32.5 kB view details)

Uploaded Source

Built Distribution

gollum-0.4.1-py3-none-any.whl (33.6 kB view details)

Uploaded Python 3

File details

Details for the file gollum-0.4.1.tar.gz.

File metadata

  • Download URL: gollum-0.4.1.tar.gz
  • Upload date:
  • Size: 32.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for gollum-0.4.1.tar.gz
Algorithm Hash digest
SHA256 0f22635ef16cfbfaddd0df90a6c1b74d4be21f8df7de81858cf7250b31204176
MD5 5a487f300d75ecd3844d418bef13eefc
BLAKE2b-256 db61700ee02057bd97db818ed8af03269c43dccb5920f97caa30849ac6f54954

See more details on using hashes here.

File details

Details for the file gollum-0.4.1-py3-none-any.whl.

File metadata

  • Download URL: gollum-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 33.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for gollum-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 59616d551f29b6cb621fefafb840eb787767dfaa7e25cb41f8665a8d0f236595
MD5 3ed2df8f182de37b0983ab3832d0a521
BLAKE2b-256 6fb8c4465132228eabd74c7a218120d25802a185b2bbb99f35f5274f54f45d32

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page