refnx/util/general.py
def _neutron_transmission_depth(material, wavelength):
    """
    Calculate the penetration depth for a material with a given neutron
    wavelength

    Parameters
    ----------
    material : pt.Formula

    wavelength : float
        neutron wavelength in Angstrom
    """
    import periodictable as pt

    return 10.0 * pt.neutron_scattering(material, wavelength=wavelength)[-1]

    Calculate the penetration depth for a material with a given neutron
    wavelength

    Parameters
    ----------
    material : pt.Formula

    wavelength : float
        neutron wavelength in Angstrom
    
Calculate the penetration depth for a material with a given neutron
wavelength

Parameters



wavelength : float
neutron wavelength in Angstrom
Calculate the penetration depth for a material with a given neutron wavelength Parameters wavelength : float neutron wavelength in Angstrom
def _neutron_transmission_depth(material, wavelength):
    import periodictable as pt
    return 10.0 * pt.neutron_scattering(material, wavelength=wavelength)[-1]
def _neutron_transmission_depth ( material , wavelength ) : import periodictable as pt return 10.0 * pt . neutron_scattering ( material , wavelength = wavelength ) [ - 1 ]
Calculate the penetration depth for a material with a given neutron
wavelength
Calculate the penetration depth for a material with a given neutron wavelength
"""
    Calculate the penetration depth for a material with a given neutron
    wavelength

    Parameters
    ----------
    material : pt.Formula

    wavelength : float
        neutron wavelength in Angstrom
    """
material
wavelength