XENONnT / straxen

Streaming analysis for XENON
BSD 3-Clause "New" or "Revised" License
19 stars 33 forks source link

Rotated map interpolation #1349

Open l-althueser opened 3 months ago

l-althueser commented 3 months ago

This PR adds functionality for pattern maps that are saved in rotated parameter space such that the input coordinates need to be translated. In addition, a new (slow) interpolation algorithm is added which only takes the inverse distant weights in 1D for each row in y-direction. We will need further confirmation from @andrieub and @odadoun if this is exactly what is needed from their side - lets discuss offline but keep this draft PR for communication.

Thanks!

coveralls commented 3 months ago

Coverage Status

coverage: 91.148% (-0.2%) from 91.317% when pulling 9bd9c413bd93959cfc544316b9dedee62be0aaff on rotated_map_interpolation into fb1ae7681eb743854adfcb252094a86d4ef973f0 on master.