Skip to content

This is a LePHARE .spec file visualizer, written in Python. It will show the available solutions spectra, PDF and the information of each solution.

License

Notifications You must be signed in to change notification settings

perseu/plotter_4_lephare_python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

plotter_4_lephare_python

This is a LePHARE .spec file visualizer, written in Python. It will show the available solutions spectra, PDF and the information of each solution.

Requirements: numpy, matplotlib, sys, os, and tabulate

This first version presents all data as a matplotlib output, and a text table with the data of each found solution, so that the user may copy it from the terminal.

This script detects if it has the spec file as an external argument. If there is no argument, it will enter interactive mode and it will ask for the file.

Along with the script, there are two .spec files as an example.

I hope that this may help you. Feel free to use and change to fit your needs.

NOTE: if using this script in Linux, please comment line 18: import msvcrt as m

About

This is a LePHARE .spec file visualizer, written in Python. It will show the available solutions spectra, PDF and the information of each solution.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages