-
Notifications
You must be signed in to change notification settings - Fork 59
Map RA degrees support #651
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
base: master
Are you sure you want to change the base?
Conversation
- Add 'ra_format' configuration option to plotting settings (default: 'hour') - Support 'deg' format to display RA in decimal degrees instead of hours - Apply to all map plots: psmap, tsmap, residmap, localization, extension - Add ra_format option to psmap configuration for method-specific control - Include documentation with usage examples - Addresses issue #622 and related PR request Co-authored-by: ndilalla <[email protected]>
Co-authored-by: ndilalla <[email protected]>
Co-authored-by: ndilalla <[email protected]>
Co-authored-by: ndilalla <[email protected]>
|
Cursor Agent can help with this pull request. Just |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #651 +/- ##
==========================================
+ Coverage 50.79% 50.88% +0.09%
==========================================
Files 143 144 +1
Lines 27265 27349 +84
==========================================
+ Hits 13849 13917 +68
- Misses 13416 13432 +16
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
- Add ra_format configuration to residmap, tsmap, tscube, localize, and extension - Update all plotting methods to propagate ra_format parameter: - make_roi_plots: Pass ra_format through roi_kwargs - make_localization_plots: Support ra_format in both plot instances - make_extension_plots: Support ra_format in _plot_extension_tsmap - Update analysis methods to pass ra_format from config: - tsmap: Pass ra_format to make_tsmap_plots - tscube: Pass ra_format to make_tsmap_plots - residmap: Pass ra_format to make_residmap_plots - localize: Pass ra_format to make_localization_plots - extension: Pass ra_format to make_extension_plots - Ensure complete coverage for all map generation methods in fermipy - write_roi already supports ra_format via make_plots -> plotter.run Co-authored-by: ndilalla <[email protected]>
- Document support for all map types (psmap, tsmap, tscube, residmap, localize, extension, ROI plots) - Add comprehensive examples for all methods - Update configuration examples with all supported methods - Clarify that ALL map generation methods support ra_format Co-authored-by: ndilalla <[email protected]>
Co-authored-by: ndilalla <[email protected]>
Add
ra_formatconfiguration to allow users to display Right Ascension in degrees instead of hours in map plots.This addresses a user request (issue #622) to provide flexibility in RA axis labeling for sky maps. The default behavior remains RA in hours, ensuring backward compatibility.