Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bias Subtraction documentation mismatches implementation? #1001

Closed
kolecki4 opened this issue Jan 9, 2025 · 3 comments
Closed

Bias Subtraction documentation mismatches implementation? #1001

kolecki4 opened this issue Jan 9, 2025 · 3 comments

Comments

@kolecki4
Copy link
Collaborator

kolecki4 commented Jan 9, 2025

The bias_subtraction function in modules/image_processing/src/alg.py indicates that it takes L0 files as inputs, with one being the master bias.

However, the master bias files in /data/kpf/masters/ on Shrek are 2D images. If the pipeline is performing bias subtraction by subtracting 2D master bias files from L0 image files, this could result in the fixed-pattern noise we've been dealing with.

Here are plots of the master bias file and a single bias image from the same date:
(Note the different color scales between the L0 and 2D products.)

Master bias file from 20240906:

20240906masterBias

Single bias image from 20240906:

L0:

20240906GreenBiasL0

2D:

20240906GreenBias2D

@awhoward
Copy link
Collaborator

@kolecki4, does a row-cut or column average of the bias frame give the same fixed pattern noise that we're seeing in flats?

@awhoward
Copy link
Collaborator

@RussLaher -- I saw your PR related to documentation recently. Thanks. Does that close this issue?

@RussLaher
Copy link
Collaborator

Yes, that PR covered it. This issue can be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants