Skip to main content

Display spectra and estimate their redshifts.

Project description

DOI DOCS Coverage Status Testing PyQt6 Testing PySide6

REDMOST

REDshift Measurements Of SpecTra is a Qt6 Graphical User Interface (GUI) to do redshift measurements on 1D spectra.

Redmost main window

If redrock is correctly installed, it cat be used as a backend to measure the redshift.

Installation

This is a python program based on Qt6 and supports both PyQt6 and PySide6 backends. It also support PyQt5 backend but it is not fully tested and may not work as expected. Since it is a good practice to not mess up the system-wide python environment, you should install this program in a virtual environment. If you don't have a virtual environment yet, you can create one with the command

python -m venv env_name

For example, to create a virtual environment called "astro", you can use the command

python -m venv astro

and you can activate it with

. astro/bin/activate

From this GIT repository

To install the bleeding edge version, first clone this repository

git clone https://github.com/mauritiusdadd/redmost.git
cd redmost

and then run pip specifying which Qt backend you want to use:

  • for PyQt6: pip install .[pyqt6]
  • for PySide6: pip install .[pyside6]
  • for PySide5: pip install .[pyqt5] (only for compatibility, may not work as expected)

From PyPi

just use pip, like for any other packages. Keep in mind that packaged releases may be older than the git version and could lack of some newly implemented functionalities.

  • for PyQt6: pip install redmost[pyqt6]
  • for PySide6: pip install redmost[pyside6]
  • for PyQt5: pip install redmost[pyqt5]

After the installation, to update redmost to the most recent release, use

pip install redmost --upgrade

Install third party backends

Redmost can use modular backends to measure the redshift, although only redrock is currently supported. Please check and follow the installation instructions of the single packages!

Run

To run the program just run the command redmost in a terminal. If you have both PyQt and Pyside installed, you can force the program to use a specific backend using the environment variable QT_API, for example:

QT_API="pyside6" redmost

Docs and tutorials

The full documentation is available at: https://redmost.readthedocs.io/en/latest

Acknowledgements

If you use this software for your work, please consider to include a citation to 10.5281/zenodo.10817884.

Also remember to acknowledge:

This program uses icons derived from the following themes:

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

redmost-0.4.7.tar.gz (1.6 MB view details)

Uploaded Source

Built Distribution

redmost-0.4.7-py3-none-any.whl (109.7 kB view details)

Uploaded Python 3

File details

Details for the file redmost-0.4.7.tar.gz.

File metadata

  • Download URL: redmost-0.4.7.tar.gz
  • Upload date:
  • Size: 1.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.8

File hashes

Hashes for redmost-0.4.7.tar.gz
Algorithm Hash digest
SHA256 c3bd8ef2b0f752c5245b441b61f328427205284f1d064f653c1a8854ce77f969
MD5 bde6220faf71bc4654bd6b1d8a15a5dc
BLAKE2b-256 76339fda4ade24ca676a016e9572e8e174189221d56ed538fadffc4f2ba6bc30

See more details on using hashes here.

File details

Details for the file redmost-0.4.7-py3-none-any.whl.

File metadata

  • Download URL: redmost-0.4.7-py3-none-any.whl
  • Upload date:
  • Size: 109.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.8

File hashes

Hashes for redmost-0.4.7-py3-none-any.whl
Algorithm Hash digest
SHA256 beaba0398f61a6080921d23accc84775d03a800c629c4e4d041977c985dd4ccf
MD5 c653973157df8b698199a1d69a01f949
BLAKE2b-256 9c7dc71d112d1400e427f46d30be3c142c09baa273f99823b0954e7b6259b791

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