Skip to content

v3.1.1.

Latest

Choose a tag to compare

@astro-transients astro-transients released this 20 Nov 16:33
· 2 commits to master since this release
1c95404

Fixes

  • Galaxy-targeted (3D) schedules work with NumPy ≥ 2.4. Every 3D schedule failed with TypeError: only 0-dimensional arrays can be converted to Python scalars as soon as it found its first pointing. The schedules themselves are unchanged. (#155)
  • The integrated strategy no longer fails when a visible galaxy lies within one FoV radius of a celestial pole (ValueError: Latitude angle(s) must be within -90 deg <= angle <= 90 deg). A single such galaxy made the whole schedule fail in 3.0.8 and 3.1.0, for example for S190425z seen from the H.E.S.S. site. (#156, #157)
  • Polygonal FoVs are built and tested on the sphere. They now have the same size on the sky at every declination (they were too narrow in RA away from the equator, half as wide at dec 60), contain the right galaxies across RA 0/360 and extend over the poles. This applies to ComputePGalinFOV, which also uses the configured numberSides instead of always 4, and to the 2D path through hp.query_polygon. (#157)
  • The integrated strategy ranks its candidate galaxies with the circle of radius FOV that it then counts and subtracts, as before 3.0.0, instead of an inscribed 4-vertex diamond (64% of the area of the circle). The galaxy probability that selects a pointing is now the probability that the pointing adds. (#157)
  • ObservationParameters created directly, not from a configuration file, stored shape, numberSides, alphaR and betaR as one-element tuples. (#154)

API changes

  • ModifyCatalogue(prob, cat, FOV, totaldPdV, n_sides=0): the nside argument, which was passed on as the number of sides, is replaced by n_sides (0 for the circle). (#157)
  • Tools.get_regular_polygon_vertices raises ValueError for fewer than 3 sides or a radius outside (0, 90) deg. New Tools.points_in_spherical_polygon for containment on the sphere. (#157)

Documentation

  • The README documents every configuration parameter, including the [general] section, and says which ones are read but not used yet. (#154)
  • The installation guide uses the master branch: the @main install command and the link to examples/ were broken. (#154)

Maintenance

  • New tests run 3D schedules (PGalinFoV, PGalinFoV_NObs) on a synthetic map, and check the FoV geometry near the poles and across RA 0/360. (#155, #156, #157)

Note: integrated-strategy schedules change for every circular FoV, anywhere on the sky, because of the ranking fix (#157). For S190425z from H.E.S.S. (FOV 2, 20 pointings), the galaxy probability covered goes from 0.044 to 0.048 and 16 of the 20 pointings change. minProbcut, secondRound and zenithWeighting now act on that probability, so a time slot that was skipped before can get a pointing. Polygonal FoVs (space scheduling, GetBestTiles2D/GetBestTiles3D) also change away from the equator.