-
Notifications
You must be signed in to change notification settings - Fork 5
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
All purpose reduced X^2 #120
Comments
Hopefully, this will also solve #91. |
I think you are proposing to
|
Yes, exactly.
What name would you give it then? I think it is useful to have a file with the reduced X^2 that is called by other files.
@rbiswas4, I don't know what |
Sorry I missed this one: What I mean is what are the arguments to the functions, and what will be the outputs? (But I was asking mostly because I was worried about circular imports ... since you are doing this differently now, I don't see this being a problem. We can see how things go along. |
Yes, after your comment I revised what I was going to do. Because of that, I am not making circular imports, thank you. |
This is not the "real" reduced X^2 so we are going to call it |
We use the reduced X^2 a lot. However, the current code for it (in
sndata
) is not flexible enough. To overcome that, I have copied it to other places with minor modifications (gps
). Despite that, I would like to make more changes and use it in a different way.I propose to change the reduced X^2 code to
analysis
(as it is an analysis tool) and make it more flexible. This means that the code should be able to:I also think the
reduced_chi_squared
method should be a property that is updated when we change themodels
(the place where the GPs values are stored, for example).After creating this new
compute_reduced_chi_square
(or another name that I find more self explanatory), I would change the way reduced X^2 are called in:analysis
,sndata
,gps
,snfeatures
(not sure about this last one, I need to see if it is a functionality that makes sense here where I am re-doing it).If you would like to have more functionalities (the code to be more flexible in some way), please write it here.
The text was updated successfully, but these errors were encountered: