refnx/util/general.py
def double_chopper_frequency(min_wavelength, max_wavelength, L, N=1):
    r"""
    Calculates the maximum frequency available for a given wavelength band
    without getting frame overlap in a chopper spectrometer.

    Parameters
    ----------
    min_wavelength: float
        minimum wavelength to be used
    max_wavelength: float
        maximum wavelength to be used
    L: float
        Flight length of instrument (m)
    N: float, optional
        number of windows in chopper pair

    Returns
    -------
    max_freq: float
        The maximum frequency a double chopper system can use to avoid frame
        overlap.
    """
    return K / ((max_wavelength - min_wavelength) * L * N)
r"""
    Calculates the maximum frequency available for a given wavelength band
    without getting frame overlap in a chopper spectrometer.

    Parameters
    ----------
    min_wavelength: float
        minimum wavelength to be used
    max_wavelength: float
        maximum wavelength to be used
    L: float
        Flight length of instrument (m)
    N: float, optional
        number of windows in chopper pair

    Returns
    -------
    max_freq: float
        The maximum frequency a double chopper system can use to avoid frame
        overlap.
    
r"""
Calculates the maximum frequency available for a given wavelength band
without getting frame overlap in a chopper spectrometer.

Parameters

float
minimum wavelength to be used
max_wavelength: float
maximum wavelength to be used
L: float
Flight length of instrument (m)
N: float, optional
number of windows in chopper pair

Returns

float
The maximum frequency a double chopper system can use to avoid frame
overlap.
r " " " Calculates the maximum frequency available for a given wavelength band without getting frame overlap in a chopper spectrometer . Parameters float minimum wavelength to be used max_wavelength : float maximum wavelength to be used L : float Flight length of instrument ( m ) N : float optional number of windows in chopper pair Returns float The maximum frequency a double chopper system can use to avoid frame overlap .
def double_chopper_frequency(min_wavelength, max_wavelength, L, N=1):
    return K / ((max_wavelength - min_wavelength) * L * N)
def double_chopper_frequency ( min_wavelength , max_wavelength , L , N = 1 ) : return K / ( ( max_wavelength - min_wavelength ) * L * N )
r"""
Calculates the maximum frequency available for a given wavelength band
without getting frame overlap in a chopper spectrometer.
r " " " Calculates the maximum frequency available for a given wavelength band without getting frame overlap in a chopper spectrometer .
r"""
    Calculates the maximum frequency available for a given wavelength band
    without getting frame overlap in a chopper spectrometer.

    Parameters
    ----------
    min_wavelength: float
        minimum wavelength to be used
    max_wavelength: float
        maximum wavelength to be used
    L: float
        Flight length of instrument (m)
    N: float, optional
        number of windows in chopper pair

    Returns
    -------
    max_freq: float
        The maximum frequency a double chopper system can use to avoid frame
        overlap.
    """
min_wavelength
max_wavelength
L
N