def calc_mass_from_fit_and_conv_factor(A, Damping, ConvFactor):
    """
    Calculates mass from the A parameter from fitting, the damping from 
    fitting in angular units and the Conversion factor calculated from 
    comparing the ratio of the z signal and first harmonic of z.

    Parameters
    ----------
    A : float
        A factor calculated from fitting
    Damping : float
        damping in radians/second calcualted from fitting
    ConvFactor : float
        conversion factor between volts and nms

    Returns
    -------
    mass : float
        mass in kgs
    """
    T0 = 300
    mFromA = 2*Boltzmann*T0/(pi*A) * ConvFactor**2 * Damping
    return mFromA