Skip to content

Use Alt/Az when selecting neighboring runs #10

@IevgenVovk

Description

@IevgenVovk

Issue: The find_run_neighbours() method uses ICRS coordinate system when selecting the run neighbors, which may lead to runs with very different zenith distances to be stacked when evaluating the background.

Suggestion: use Alt/Az instead of ICRS in find_run_neighbours():

  1. introduce az_bins and alt_bins keywords to the configuration file with the following behavior: if integers, they will define the Az/sin(Alt) grid to be used when searching for neighbors; if lists, they will define the Alt and Az grid bin edges;
  2. add the alt/az neighboring grid creation in BkgMakerBase.from_config_file();
  3. change the pointing_delta argument of find_run_neighbours() to neighboring _grid or similar and provide the grid from step 2 here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions