def absolute_radiometric_calibration(
        data, gain,offset, abs_cal_factor, effective_bandwidth, 
    ):
    """Calculates the absolute radiometric calibration of data
    see https://dg-cms-uploads-production.s3.amazonaws.com/uploads/document/file/209/ABSRADCAL_FLEET_2016v0_Rel20170606.pdf
    for digital globe data

    Parameters 
    ----------
    data: np.array
        image data
    gain: number 
        gain value see document above
    offset: number
        offset value see document above
    abs_cal_factor: number
        calibration factor pulled from image metadata
    effective_bandwidth:
        calibration bandwidth pulled from image metadata

    Retruns
    -------
    radiometrically corrected image data correct
    """
    return gain * data * (abs_cal_factor/effective_bandwidth) + offset