-
Notifications
You must be signed in to change notification settings - Fork 13
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
Barytime fix #650
base: main
Are you sure you want to change the base?
Barytime fix #650
Conversation
Ciao Stefano, |
I am looking at the change right now. Instead of encapsulating the logic for choosing the time column, how about adding a command-line argument (e.g., --timecol), defaulting to TIME, that one can set to BARYTIME? This would seem like a more flexible mechanism, and would diminish complexity in the inner part of the code. |
Here is the error from the unit tests---we have broken something.
|
It can be done. Although i don't see why anyone would use the non barycentered TIME column if he has BARYTIME |
Ok, the issue is that --met0 defaults to None, and in that cas the subtraction fails. We need a better default---how about 0, i.e., the start of the mission? |
Stefano, let's move this discussion on the issue #651 I am not sure anymore we're doing the right thing :-) |
A fix and a feature:
Feature
If the input file has a BARYTIME column that is used by default, otherwise TIME is used as previously
Fix
The met0 is used for phase folding instead of TSTART