Skip to content

Commit

Permalink
check noise
Browse files Browse the repository at this point in the history
  • Loading branch information
Jammy2211 committed Oct 28, 2024
1 parent 475876a commit 6ab7d3e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions autoarray/dataset/imaging/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ def from_fits(
psf_path: Optional[Union[Path, str]] = None,
psf_hdu: int = 0,
noise_covariance_matrix: Optional[np.ndarray] = None,
check_noise_map: bool = True,
over_sampling: Optional[OverSamplingDataset] = OverSamplingDataset(),
) -> "Imaging":
"""
Expand Down Expand Up @@ -250,6 +251,8 @@ def from_fits(
The hdu the noise map is contained in the .fits file specified by `noise_map_path`.
noise_covariance_matrix
A noise-map covariance matrix representing the covariance between noise in every `data` value.
check_noise_map
If True, the noise-map is checked to ensure all values are above zero.
over_sampling
The over sampling schemes which divide the grids into sub grids of smaller pixels within their host image
pixels when using the grid to evaluate a function (e.g. images) to better approximate the 2D line integral
Expand Down Expand Up @@ -280,6 +283,7 @@ def from_fits(
noise_map=noise_map,
psf=psf,
noise_covariance_matrix=noise_covariance_matrix,
check_noise_map=check_noise_map,
over_sampling=over_sampling,
)

Expand Down

0 comments on commit 6ab7d3e

Please sign in to comment.