-
Notifications
You must be signed in to change notification settings - Fork 23
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
Import COLines into PySM 3 #86
Conversation
zonca
commented
Sep 29, 2021
- import code from so_pysm_models
- import COLines in base package
- pysm3 doesn't support different coordinates for templates
- feat: use remote data also for tests
Interface@giuspugl for now I have just imported the class from I think in PySM 3 I could do a standard interface:
Line frequencies are:
@giuspugl seems reasonable? |
Hi @zonca , |
Presets for COShould we have presets for CO like for other models? We could name them |
@giuspugl @seclark @brandonshensley how could we organize the presets (like we definitely want 1 model with all 3 lines, that could be |
My feeling is we should have one model that contains all the lines we provide and just list the transitions and frequencies in the documentation. I could see a need to provide higher J transitions in the future. The Planck Commander analysis also had a "94/100 GHz" line map which is HCN among other things (see bottom of page 11 of the linked paper). Do we provide that too? Not so critical since it is mostly concentrated in the Galactic Center, just thinking completeness. |
I agree with this. I can't really see a use case for only one CO line (although of course what's relevant depends on frequency). It's important to fix the names of each implementation for backward referencing, though. We could call what we have implemented now |
I'll let @giuspugl reply to @brandonshensley about modelling. |
Hi all, I agree that for completeness inclusion of HCN line is definitely something we want to include for! However that's not a CO line so wouldn't include into this pull request. I 'll think of a new way to include also this extra-lines that are of interests both for ground and space experiments. |
See #103 (comment) so:
|
COLines can now handle multiple lines at a time and has the standard `get_emission` method
* moved inside models * renamed arguments * fixed unit conversion, input maps are in uK_CMB
rebased on main |
@giuspugl @brandonshensley @seclark please also take a look at the docs: https://pysm3--86.org.readthedocs.build/en/86/models.html#co-line-emission |
@giuspugl @brandonshensley is this ok to merge? |
Fine for me ! thanks a lot ! |