Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tbpaolini/spectrachroma
SpectraChroma is a software for calculating and plotting the color coordinates of emission spectra in the CIE 1931 Chromaticity Diagram.
https://github.com/tbpaolini/spectrachroma
chemistry chromaticity-diagram colorimetry linux python spectroscopy ubuntu
Last synced: about 2 months ago
JSON representation
SpectraChroma is a software for calculating and plotting the color coordinates of emission spectra in the CIE 1931 Chromaticity Diagram.
- Host: GitHub
- URL: https://github.com/tbpaolini/spectrachroma
- Owner: tbpaolini
- License: bsd-3-clause
- Created: 2021-06-02T23:16:51.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-06-10T01:22:14.000Z (over 3 years ago)
- Last Synced: 2023-10-20T23:20:54.809Z (over 1 year ago)
- Topics: chemistry, chromaticity-diagram, colorimetry, linux, python, spectroscopy, ubuntu
- Language: Python
- Homepage: https://tbpaolini.github.io/spectrachroma/
- Size: 6.88 MB
- Stars: 3
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SpectraChroma
SpectraChroma is a software for calculating and plotting the color coordinates of emission spectra in the CIE 1931 Chromaticity Diagram (2 Degree Standard Observer).![SpectraChroma's screenshot](https://github.com/tbpaolini/spectrachroma/blob/master/assets/screenshots/SpectraChroma%20-%20v1.0.0.png)
## Features:
* Import multiple spectra at once
* Automatic data labeling
* Can save the Chromaticity Diagram in several image formats (including SVG, PNG, JPG, TIFF)
* Chromaticity Diagram customization by showing/hiding the axes, grid lines, and data labels
* Display the CIE color coordinates and the calculated perceived color
* Export all CIE color coordinates and the perceived colors to Microsoft Excel or plain text## Downloads
SpectraChroma runs on Windows and Linux, without the need of installation. Just unzip and run the program:
* [Windows 10 64-bit (standalone)](https://github.com/tbpaolini/spectrachroma/releases/download/v1.0.1/SpectraChroma.1.0.1-Windows_10-x64.zip)
* [Linux (Ubuntu 20.04) 32/64-bit](https://github.com/tbpaolini/spectrachroma/releases/download/v1.0.1/SpectraChroma_1.0.1-Linux-x86_64.zip)Optionally, an Windows installer is also available:
* [Windows Installer (64-bit)](https://github.com/tbpaolini/spectrachroma/releases/download/v1.0.1/SpectraChroma_1.0.1-Windows_Installer-x64.msi)**Note:** *the program may work on earlier versions of Windows and other flavors of Linux, but that is not guaranteed. Windows 10 and Ubuntu 20.04 are the versions in which SpectraChroma as built and tested into.*
As a matter of convenience, some sample spectra are provided to be tested with SectraChroma:
* [Sample data](https://github.com/tbpaolini/spectrachroma/releases/download/v1.0.1/Sample_data-SpectraChroma.zip)## Source Code
SpectraChroma is written in Python 3.9.4 and was exported to Windows and Linux executables using [cx_Freeze](https://marcelotduarte.github.io/cx_Freeze/), which means that no Python installation is required to run the executables.But you can still get SpectraChorma's source code in Python, so you can run it in Python or build the executable yourself:
* [Source code (Python 3.9.4)](https://github.com/tbpaolini/spectrachroma/releases/download/v1.0.1/Source_code-SpectraChroma_1.0.1-Python.3.9.4.zip)The following Python modules (and their dependencies) are required to run SpectraChroma from the source: `colour-science`, `matplotlib`, and `XlsxWriter`. To install all at once, you can run this command on the shell:
```sh
pip install colour-science matplotlib XlsxWriter
```Aditionally, if you are on Ubuntu (Linux), you might need to also install the package `python3-tk`:
```sh
sudo apt-get install python3-tk
```## About
SpectraChroma was made by Tiago Becerra Paolini (PhD in Chemistry), with valuable programming advice from Guilherme Wiethaus (professional programmer and MD in Chemistry).## How to cite
Please cite SpectraChroma on your work as:Paolini, T. B. (2021). SpectraChroma (Version 1.0.1) [Computer software]. https://doi.org/10.5281/zenodo.4906589
[![DOI: 10.5281/zenodo.4906589](https://github.com/tbpaolini/spectrachroma/blob/master/assets/doi/DOI-SpectraChroma-all_versions.svg)](https://doi.org/10.5281/zenodo.4906589)