construct_covar¶
- romanisim.ramp.construct_covar(read_noise, flux, read_pattern)¶
Constructs covariance matrix for first finite differences of unevenly sampled resultants.
- Parameters:
- read_noisefloat
The read noise (electrons)
- fluxfloat
The electrons per second
- read_patternlist[list]
List of lists specifying the indices of the reads entering each resultant.
- Returns:
- np.ndarray[n_resultant, n_resultant] (float)
covariance matrix of first finite differences of unevenly sampled resultants.