Closed dhawat closed 3 years ago
Functions following the definitions of Hankel transform classes correspond to old code that might have been commented or even deleted.
The function you mention https://github.com/For-a-few-DPPs-more/structure-factor/blob/011e3c6b4b5a37f454f1136ca2db2caccc812e3d/src/structure_factor/transforms.py#L188 is a standalone implementation of Ogata's method for computing hankel transform type of integrals.
The object counterpart https://github.com/For-a-few-DPPs-more/structure-factor/blob/011e3c6b4b5a37f454f1136ca2db2caccc812e3d/src/structure_factor/transforms.py#L96 allows us to store intermediate quantities that may be reused for the subsequent computation of Hankel transform type integrals.
https://github.com/For-a-few-DPPs-more/structure-factor/blob/011e3c6b4b5a37f454f1136ca2db2caccc812e3d/src/structure_factor/transforms.py#L188