llama.files.skymap_info.utils module

Utilities for working with GW searches that depend on SkymapInfo.

llama.files.skymap_info.utils.gracedb_human_file_url(graceid, filename, version=None)

Get a human-viewable (i.e. browser-viewable) URL for a specific filename and event combination on GraceDB. You can either specify the version as an argument, omit the version, or pass the version straight in as part of the filename (though explicitly passing the version number as an argument will override a version provided as part of the filename argument). Will check whether the event is a superevent and return the appropriate URL in that case.

llama.files.skymap_info.utils.is_super(graceid)

Check whether this GraceID corresponds to an event or a superevent.