float_to_complex

jwst.refpix.irs2_subtract_reference.float_to_complex(data)[source]

Convert real and imaginary parts to complex.

Parameters:
datandarray

Data array with interleaved real and imaginary parts

Returns:
datandarray

Complex array made from real and imaginary parts