yasfpy.functions.spherical_functions_trigon =========================================== .. py:module:: yasfpy.functions.spherical_functions_trigon .. autoapi-nested-parse:: Spherical special functions (trigonometric form). Provides spherical Bessel/Hankel-related building blocks and derived quantities used by field computations. Functions --------- .. autoapisummary:: yasfpy.functions.spherical_functions_trigon.spherical_functions_trigon Module Contents --------------- .. py:function:: spherical_functions_trigon(lmax, theta, st=None) Compute spherical functions using trigonometric functions. :param lmax: The maximum degree of the spherical harmonics. :type lmax: int :param theta: The polar angle(s) in radians. :type theta: numpy.ndarray or float :param st: The sine of the polar angle(s). If not provided, it will be computed from theta. :type st: numpy.ndarray or float, optional :returns: The associated Legendre functions. taulm (numpy.ndarray): The derivative of the associated Legendre functions. :rtype: pilm (numpy.ndarray)