gbm_drm_gen.utils package¶
Submodules¶
gbm_drm_gen.utils.contour_finder module¶
- class gbm_drm_gen.utils.contour_finder.ContourFinder(healpix_map, nside=512)[source]¶
Bases:
object
- property map¶
Return the resized map
- property nside¶
Return the nside of the re-sized map
- property pixel_size¶
Return average side of pixel in degrees for the re-sized map
gbm_drm_gen.utils.file_utils module¶
- gbm_drm_gen.utils.file_utils.if_directory_not_existing_then_make(directory)[source]¶
If the given directory does not exists, then make it
- Parameters
directory – directory to check or make
- Returns
None
gbm_drm_gen.utils.general_utils module¶
- class gbm_drm_gen.utils.general_utils.ThetaFormatterShiftPi(*a, **aa)[source]¶
Bases:
matplotlib.projections.geo.GeoAxes.ThetaFormatter
Shifts labelling by pi Shifts labelling from -180,180 to 0-360
- extrapi = False¶
- gbm_drm_gen.utils.general_utils.check_power_of_two(num)[source]¶
Check that the given number is a power of 2