[cctbxbb] Does cctbx have an easy to access spherical harmonic table?

Graeme.Winter at diamond.ac.uk Graeme.Winter at diamond.ac.uk
Sat May 9 12:58:16 PDT 2015


Hi Folks,

Looked and something is used from boost but they don’t appear to be clearly wrapped to Python.

in

scitbx.math.nss_spherical_harmonics

found nearly what I was looking for but it seems to be for some other purpose & not really do what I want (and needs mystery things in constructor….)

>>> _sh = sh(2, 1)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
Boost.Python.ArgumentError: Python argument types in
    nss_spherical_harmonics.__init__(nss_spherical_harmonics, int, int)
did not match C++ signature:
    __init__(_object*, int l_max, int mangle, scitbx::math::zernike::log_factorial_generator<double> lgf)


Any clues would be welcome, else wise most sensible thing seems to be to wrap up to Python the boost spherical harmonic code…

Thanks Graeme


-- 
This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd. 
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom



More information about the cctbxbb mailing list