detecting cosmic rays in infrared data

26
Detecting Detecting Cosmic Rays in Cosmic Rays in Infrared Data Infrared Data Rachel Anderson Rachel Anderson Karl Karl Gordon Gordon 06/17/22 RIAB Monthly Meeting

Upload: corby

Post on 05-Feb-2016

38 views

Category:

Documents


0 download

DESCRIPTION

Detecting Cosmic Rays in Infrared Data. Rachel Anderson  Karl Gordon. Outline. The CR Problem Linear Fit Algorithm CR Detection Methods The 2-Point Difference Method The Deviation from Fit Method The Y-Intercept Method Results. The CR Problem. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Detecting  Cosmic Rays in Infrared Data

Detecting Detecting Cosmic Rays in Cosmic Rays in

Infrared DataInfrared Data

Rachel Anderson Rachel Anderson Karl Karl GordonGordon

04/22/23RIAB Monthly Meeting

Page 2: Detecting  Cosmic Rays in Infrared Data

OutlineOutline

The CR ProblemThe CR Problem

Linear Fit AlgorithmLinear Fit Algorithm

CR Detection MethodsCR Detection Methods The 2-Point Difference MethodThe 2-Point Difference Method The Deviation from Fit MethodThe Deviation from Fit Method The Y-Intercept MethodThe Y-Intercept Method

ResultsResults

04/22/23RIAB Monthly Meeting

Page 3: Detecting  Cosmic Rays in Infrared Data

The CR ProblemThe CR Problem

04/22/23RIAB Monthly Meeting

Every 1000 seconds, up to 20% of the field Every 1000 seconds, up to 20% of the field of view of JWST will be affected by CRsof view of JWST will be affected by CRs

Offenberg, J.D., et al. 1999Rouscher, B., et al. 2000, STScI-NGSTR-0003A

Page 4: Detecting  Cosmic Rays in Infrared Data

The CR ProblemThe CR Problem

04/22/23RIAB Monthly Meeting

Every 1000 seconds, up to 10% - 20% of the field Every 1000 seconds, up to 10% - 20% of the field of view of JWST will be affected by CRsof view of JWST will be affected by CRs

Offenberg, J.D., et al. 1999Rouscher, B., et al. 2000, STScI-NGSTR-0003A

+ CR =

Page 5: Detecting  Cosmic Rays in Infrared Data

The CR Problem (cont.)The CR Problem (cont.)

04/22/23RIAB Monthly Meeting

The Question: What is the best we can do, The Question: What is the best we can do, given the noise in the ramp?given the noise in the ramp?

The How: The How: Simulate non-destructive read ramps. Simulate non-destructive read ramps. Add some CRs with various magnitudes and Add some CRs with various magnitudes and

locations.locations. Test CR detection methods, then try to find Test CR detection methods, then try to find

them.them.

Page 6: Detecting  Cosmic Rays in Infrared Data

Linear Fit AlgorithmLinear Fit Algorithm

04/22/23RIAB Monthly Meeting

Fixsen, D. J., et al. 2000, PASP, 112, 1350Gordon, K. D., et al. 2005, PASP, 117, 503Hogg, D. W. et al. 2010, ArXiv e-prints

We want to solve the equation: Y = AX, with solution: X = [ATC-1A]-1[ATC-1Y]

Y =

y1

y2

yn

, A = , and C =

1 x1

1 x2

… …

1 xn

σy12 c1,2 … c1,n

c2,1 σy22 … c2,n

… … … …

cn,1 cn,2 … σyn2

, X = b

m

Page 7: Detecting  Cosmic Rays in Infrared Data

Linear Fit AlgorithmLinear Fit Algorithm

04/22/23RIAB Monthly Meeting

Fixsen, D. J., et al. 2000, PASP, 112, 1350Gordon, K. D., et al. 2005, PASP, 117, 503Hogg, D. W. et al. 2010, ArXiv e-prints

We want to solve the equation: Y = AX, with solution: X = [ATC-1A]-1[ATC-1Y]

Y =

y1

y2

yn

, A = , and C =

1 x1

1 x2

… …

1 xn

σy12 c1,2 … c1,n

c2,1 σy22 … c2,n

… … … …

cn,1 cn,2 … σyn2

, X = b

m

It is easiest to think of C as the sum of two matrices: C = R + P

, and P =

p12 p1

2 p12 …

p12 p2

2 p22 …

p12 p2

2 … …

… … … pn2

R = r2 I

Page 8: Detecting  Cosmic Rays in Infrared Data

CR Detection MethodsCR Detection Methods

Three methods:Three methods: 2- Point Difference2- Point Difference Deviation from FitDeviation from Fit Y-Intercept Y-Intercept

For each method:For each method: Detect CRs (largest first)Detect CRs (largest first) Calculate the slope for the resulting ‘semi-ramps’Calculate the slope for the resulting ‘semi-ramps’ Calculate final slope of entire ramp by taking Calculate final slope of entire ramp by taking

weighted average of the slopes of the ‘semi-weighted average of the slopes of the ‘semi-ramps’ramps’

04/22/23RIAB Monthly Meeting

Regan, M. 2007, JWST-STScI-001212Robberto, M. 2008, JWST-STScI-0001490, SM-12

Page 9: Detecting  Cosmic Rays in Infrared Data

2-Point Difference 2-Point Difference

04/22/23RIAB Monthly Meeting

| di – μd |σd

Ratio =

di = yi – yi-1

μd: median of di’s

σd = √2rn2 + pn

2

… where pn = √μd

Page 10: Detecting  Cosmic Rays in Infrared Data

Deviation From FitDeviation From Fit

04/22/23RIAB Monthly Meeting

devi =yi – fi

σi

Page 11: Detecting  Cosmic Rays in Infrared Data

Y-InterceptY-Intercept

04/22/23RIAB Monthly Meeting

| b2 – b1 |σb

Ratio =

σb = √2rn2 + pn

2

… where pn = √ m ,

and rn is calculatedfrom un-correlated errors in our linear-fit program.

Page 12: Detecting  Cosmic Rays in Infrared Data

Results: Results: Fraction Found vs. False Fraction Found vs. False

DetectionsDetections

04/22/23RIAB Monthly Meeting

40 Frames, Input Slope: 10.00 DN/s

Page 13: Detecting  Cosmic Rays in Infrared Data

Results: Results: Fraction Found vs. False Fraction Found vs. False

DetectionsDetections

04/22/23RIAB Monthly Meeting

40 Frames, Input Slope: 0.00 DN/s

Page 14: Detecting  Cosmic Rays in Infrared Data

Results: Multiple CR’sResults: Multiple CR’s

04/22/23RIAB Monthly Meeting

2-Point Difference

Page 15: Detecting  Cosmic Rays in Infrared Data

ConclusionsConclusions

To optimize results, our linear fit algorithm To optimize results, our linear fit algorithm must take into account correlated and un-must take into account correlated and un-correlated errors.correlated errors.

The 2-Point Difference method is simple, The 2-Point Difference method is simple, fast, consistent, and best for photon-noise fast, consistent, and best for photon-noise dominated regime.dominated regime.

The Y-Intercept method is better in read-The Y-Intercept method is better in read-noise dominated regime.noise dominated regime.

04/22/23RIAB Monthly Meeting

Page 16: Detecting  Cosmic Rays in Infrared Data

Results: Number of Results: Number of FramesFrames

04/22/23RIAB Monthly Meeting

Slope = 10.0 DN/sFraction of False Detections = 0.05

Page 17: Detecting  Cosmic Rays in Infrared Data

Results: Various Results: Various Slopes Slopes

04/22/23RIAB Monthly Meeting

2- Point Difference

Page 18: Detecting  Cosmic Rays in Infrared Data

Results: Various Results: Various Slopes Slopes

04/22/23RIAB Monthly Meeting

Deviation from Fit

Page 19: Detecting  Cosmic Rays in Infrared Data

Results: Various Results: Various Slopes Slopes

04/22/23RIAB Monthly Meeting

Y-Intercept

Page 20: Detecting  Cosmic Rays in Infrared Data

Linear Fit Algorithm Linear Fit Algorithm (cont.)(cont.)

04/22/23RIAB Monthly Meeting

slope

calc /

(sl

ope-1

)

Page 21: Detecting  Cosmic Rays in Infrared Data

Results: Number of Results: Number of FramesFrames

04/22/23RIAB Monthly Meeting

Slope = 0.00 DN/s Slope = 10.00 DN/s

2-Point Difference

Page 22: Detecting  Cosmic Rays in Infrared Data

Results: Number of Results: Number of FramesFrames

04/22/23RIAB Monthly Meeting

Deviation from Fit

Slope = 0.00 DN/s Slope = 10.00 DN/s

Page 23: Detecting  Cosmic Rays in Infrared Data

Results: Number of Results: Number of FramesFrames

04/22/23RIAB Monthly Meeting

Y-Intercept

Slope = 10.00 DN/sSlope = 0.00 DN/s

Page 24: Detecting  Cosmic Rays in Infrared Data

Results: Multiple CR’sResults: Multiple CR’s

04/22/23RIAB Monthly Meeting

Deviation from Fit

Page 25: Detecting  Cosmic Rays in Infrared Data

MIRI ParametersMIRI Parameters

Frame Time (s) 27.7

Slope (SN/s) 10.0

Zero Point (DN) 3,000.0

Number of Frames 40

Gain (e-/DN) 7.0

Dark Current (e-/s) 0.02

Read Noise (e-/sample)

16.0/√8

04/22/23RIAB Monthly Meeting

Page 26: Detecting  Cosmic Rays in Infrared Data

Results: Multiple CR’sResults: Multiple CR’s

04/22/23RIAB Monthly Meeting

Y-Intercept