-
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
Pointing systematics HWP class #344
base: master
Are you sure you want to change the base?
Conversation
merge master into point_syst_wedgeHWP
Yeah, that is a long-standing TODO, but the idea I got at the time was to split the computation across the MPI processes and then gather all the quaternions in each process so that all the quaternions are available everywhere. This is, of course, not going to work in this specific case. Your trick is probably the best way to do this. Perhaps we could add a paragraph or two about this in the documentation? |
Hi @ziotom78, After #342 is merged, shall I write all of pointing systematics API usages, and this MPI tips? (Because I'm busy due to my PhD thesis writing, it takes a time bit...) |
* Use PyData as the default theme for docs and update Sphinx and deps * Rework the structure of the documentation * Merge `Bandpasses` chapter into Detector and split `Scanning` * Remove duplicated material * Add missing reference * Remove spurious comma * Fix the grammar of a few sentences * Fix grammar and broken links, update references where needed * example in the noise page included, argument random in Simulation.add_noise is now optional * removed part of last commit * [skip ci] Update CHANGELOG --------- Co-authored-by: Luca Pagano <[email protected]>
* add plot_fp.py * ask duration_yr * CHANGELOG.md: Add entry for plot_fp.py implementation and its functionality * update README * add plot.fp.rst in docs * docs: Improve formatting and clarity in plot_fp.rst * Fix the formatting to make ruff happy --------- Co-authored-by: Yusuke Takase <[email protected]> Co-authored-by: Maurizio Tomasi <[email protected]>
* Simulation.add_noise uses self.random as default * CHANGELOG updated
Hi @ziotom78 , I wrote documentation of pointing systematics. I think it is ready to be merged into master if you are convinced. |
As I presented today's telecon, I have implemented the pointing systematics due to wedged transmissive HWP (or precessing reflective HWP) which causes a rotational disturbance to the pointings around the expected pointing direction.
The HWP angle redefinition that happened recently (#340) is also covered.
Current version of pointing-sys API has
Simulation
andList[DetectorInfo]
as arguments like:However it was not useful for MPI distribution, so in this PR, the
Observation
is added in arguments as:By this changing, we can multiply any systematic quaternions to any chunk of time given by MPI.
And several methods that do quaternion multiplications were bit messy and redundant, so everything is unified to this method:
Maybe following thing should not discussed here though let me point it out.
An issue that I met in a preparation of e2e-pipeline for the pointing systematics is #189 .
Because this HWP-pointing systematics is happened in 19Hz intrinsically, so we forced to compute the
spin2ecliptic_quats
in 19Hz as well to perform theRotQuaternion
multiplication without stacking.It requires a lot of memory because when we call the
Simulation.set_scanning_strategy()
, all MPI processes compute quaternions start to end of simulation.It can be avoided by:
although if it is solved in clever way, it's definitely useful.