Replies: 1 comment
-
|
As of #86, it is possible to specific a |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
At the moment, ampycloud treats all the measurements equally. However, some users may be interested to apply stronger weights to (e.g.) the most recent measurements, in a manner similar to alternative codes out there. This discussion is meant to:
1) see if there's a strong interest to do that in ampycloud, and
2) figure-out how to best to it (i.e. maximum flexibility while still easy to use).
Here's a few points to keep in mind:
Possible implementation:
Users specify up to two additional columns in the input DataFrame,
weight_alt_baseandweight_skycov. If the columns are not specified, they are set to 1's by default in.utils.utils.check_data_consistency()(that would rely on aOPT_DATA_COLSdict in.hardcoded.py.We would then simply need to take those weight into accounts when deriving the
alt_baseandpercin.data.CeiloChunk.metarize().This approach has the advantage of being transparent to users that do not care, while leaving complete freedom to other users to define whichever weights they like.
Beta Was this translation helpful? Give feedback.
All reactions