ip_shadow_ubc reads raw detector shadowgrams and performs the background correction. Also detector dead zones are filled at this step. Method to be applied for the pixel value interpolation in dead zones is defined by the parameter method_int. Expanded intensity and variance shadowgrams are produced as output.