-
Notifications
You must be signed in to change notification settings - Fork 0
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
Update 4FGL-DR4 Source List #42
base: main
Are you sure you want to change the base?
Conversation
return Affine2D() \ | ||
.scale(0.5 / xscale, 0.5 / yscale) \ | ||
.translate(0.5, 0.5) No newline at end of file | ||
.translate(0.5, 0.5) |
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.
I don't like the \
-syntax to split between lines. If it doesn't all fit on one line, I recommend taking a look at how the black formatter does this: https://black.readthedocs.io/en/stable/the_black_code_style/current_style.html#call-chains
@@ -121,7 +121,7 @@ def plot_catalog(master_map, cmap, lower_ra, upper_ra, lower_dec, upper_dec, | |||
cmap_min=0., cmap_max=250.): | |||
""""Plots the 4FGL catalog in a color that contrasts with the background | |||
healpix map.""" | |||
hdu = pyfits.open('/cvmfs/icecube.opensciencegrid.org/users/azegarelli/realtime/catalogs/gll_psc_v34.fit') ## LAT 14-year Source Catalog (4FGL-DR4 in FITS format) ; https://fermi.gsfc.nasa.gov/ssc/data/access/lat/14yr_catalog/') | |||
hdu = pyfits.open('/cvmfs/icecube.opensciencegrid.org/users/azegarelli/realtime/catalogs/gll_psc_v35.fit') ## LAT 14-year Source Catalog (4FGL-DR4 in FITS format) ; https://fermi.gsfc.nasa.gov/ssc/data/access/lat/14yr_catalog/') |
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.
I recommend putting this path as a constant variable either at the top of this file, or in new file called config.py
/constants.py
/etc. This way, constant values can be easily found/tracked in the future.
This merge request aims to use the most up-to-date .fit file provided by the Fermi collaboration for the LAT 14-year Source Catalog when generating skymap plots.