Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ecsv and colors as dictionary and look up list. #20

Open
wants to merge 44 commits into
base: master
Choose a base branch
from

Conversation

ijiraq
Copy link
Member

@ijiraq ijiraq commented Apr 8, 2024

The major change is in the use of ECSV file to store model results. This allows a very rich header that fully describes the simulation file and allows them to be read by standard table readers in astropy, topcat and pandas.

On the FORTRAN side, the color array has been changed so that the index in the of the color term is determined not by a fixed order but by the ASCII code of the band pass letter, minus ASCII(A). i.e. for a FILTER named 'A' the color term is looked for in element 1 of the color array while for filter 'g' we look in element 39. For this to work the 'detec1' subroutine is passed a color array that is at least 58 elements long (ascii(z) - ascii(A) + 1).

ijiraq and others added 30 commits April 1, 2023 16:48
… some helpers functions a func.py library, improved some comments, moved to using rebound to compute true anomally
Updated the version on CANFAR arc before doing a pull.
make a run pipe instead of multiple run commands.
…nary and use 'ECSV' as the file save format.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant