refnx/util/general.py
def actual_footprint(d1, d2, L12, L2S, angle):
    """
    Calculate the actual footprint on a reflectivity sample.

    Parameters
    ----------
    d1: float
        opening of first collimation slit
    d2: float
        opening of second collimation slit
    L12: float
        distance between first and second collimation slits
    L2S: float
        distance from second collimation slit to sample
    angle: float
        angle of incidence of sample (degrees)

    Returns
    -------
    (umbra_footprint, penumbra_footprint): float, float
        Footprint of the umbra and penumbra

    """
    umbra, penumbra = height_of_beam_after_dx(d1, d2, L12, L2S)
    return umbra / np.radians(angle), penumbra / np.radians(angle)

    Calculate the actual footprint on a reflectivity sample.

    Parameters
    ----------
    d1: float
        opening of first collimation slit
    d2: float
        opening of second collimation slit
    L12: float
        distance between first and second collimation slits
    L2S: float
        distance from second collimation slit to sample
    angle: float
        angle of incidence of sample (degrees)

    Returns
    -------
    (umbra_footprint, penumbra_footprint): float, float
        Footprint of the umbra and penumbra

    
Calculate the actual footprint on a reflectivity sample.
Parameters

float
opening of first collimation slit
d2: float
opening of second collimation slit
L12: float
distance between first and second collimation slits
L2S: float
distance from second collimation slit to sample
angle: float
angle of incidence of sample (degrees)

Returns

(umbra_footprint, penumbra_footprint): float, float
Footprint of the umbra and penumbra
Calculate the actual footprint on a reflectivity sample . Parameters float opening of first collimation slit d2 : float opening of second collimation slit L12 : float distance between first and second collimation slits L2S : float distance from second collimation slit to sample angle : float angle of incidence of sample ( degrees ) Returns ( umbra_footprint penumbra_footprint ) : float float Footprint of the umbra and penumbra
def actual_footprint(d1, d2, L12, L2S, angle):
    umbra, penumbra = height_of_beam_after_dx(d1, d2, L12, L2S)
    return umbra / np.radians(angle), penumbra / np.radians(angle)
def actual_footprint ( d1 , d2 , L12 , L2S , angle ) : umbra , penumbra = height_of_beam_after_dx ( d1 , d2 , L12 , L2S ) return umbra / np . radians ( angle ) , penumbra / np . radians ( angle )
Calculate the actual footprint on a reflectivity sample.
Calculate the actual footprint on a reflectivity sample .
"""
    Calculate the actual footprint on a reflectivity sample.

    Parameters
    ----------
    d1: float
        opening of first collimation slit
    d2: float
        opening of second collimation slit
    L12: float
        distance between first and second collimation slits
    L2S: float
        distance from second collimation slit to sample
    angle: float
        angle of incidence of sample (degrees)

    Returns
    -------
    (umbra_footprint, penumbra_footprint): float, float
        Footprint of the umbra and penumbra

    """
d1
d2
L12
L2S
angle