-
Notifications
You must be signed in to change notification settings - Fork 15
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
Typos, test and some documentation #178
Conversation
@@ -216,11 +217,15 @@ def __init__( | |||
) | |||
|
|||
def local_intervals(self, _): | |||
start_time = ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @ziotom78, I added this small piece here to handle obs.start_time passed as an astropy.time.Time object. In this case, obs.start_time
is not a number and we have to call obs.start_time.cxcsec
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch @sgiardie , this is absolutely correct!
Hi @ziotom78, we changed a bit the destriper, now it retrives the pointing from the observations (or pointings can be passed as optional argument). The previous version failed with a rotating hwp. If you like the last changes we can merge and release 0.5.0. I think @sgiardie has also an example notebook ready. |
Hi @ziotom78 and @paganol, I did some small changes in |
I reverted the changes in
as I am doing now. |
Hi @ziotom78, I removed the destriper examples from the notebook. You may want to reformat it again, though. I was not able to do that |
Hi Serena, I checked and the code looks ok, black does not need to change it. You can merge it, thanks! |
This PR corrects a typo in
make_bin_map
, improves the testtest_mapping.py
, and adds some documentation.It also improves
add_dipole_to_observations
, now ifpointings
is not provided it can be retrieved fromObservation.pointings