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