Algorithm Description:
A temporary method for setting the map epoch and epoch_delta values has been implemented in the ena_maps.AbstractSkyMap.project_pset_values_to_map()` method. It just keeps track of the min and max epoch from psets that get projected to the map.
@nkerman pointed out that the end epoch should really be the end of the final PSET that is included instead of the start which is what is in the epoch variable. This ticket should fix that by either adding epoch_delta to all PSET products and getting the end epoch from end_epoch = epoch + epoch_delta, or we should keep track of the min and max pointing numbers. Using those we can query for the min pointing start time and max pointing end time to set the map epoch and epoch_delta values.
See PR discussion here:
Originally posted by @nkerman in #1743 (comment)
Algorithm Description:
A temporary method for setting the map
epochandepoch_deltavalues has been implemented in the ena_maps.AbstractSkyMap.project_pset_values_to_map()` method. It just keeps track of the min and max epoch from psets that get projected to the map.@nkerman pointed out that the end epoch should really be the end of the final PSET that is included instead of the start which is what is in the
epochvariable. This ticket should fix that by either addingepoch_deltato all PSET products and getting the end epoch fromend_epoch = epoch + epoch_delta, or we should keep track of the min and max pointing numbers. Using those we can query for the min pointing start time and max pointing end time to set the mapepochandepoch_deltavalues.See PR discussion here:
Originally posted by @nkerman in #1743 (comment)