heracles-ec / heracles

Harmonic-space statistics on the sphere
https://heracles.readthedocs.io
GNU Lesser General Public License v3.0
3 stars 1 forks source link

Transforms get spin weight from field instead of metadata #201

Open ntessore opened 1 month ago

ntessore commented 1 month ago

The Mapper.transform() method currently relies on the metadata of the passed maps for the spin weight.

Instead, the spin weight could be made an explicit parameter of the Mapper.transform() method, and heracles.transform() can pass this parameter from the Field instances it is given.