1 / 41

The MIRI Sensor Chip Assembly (SCA) simulator

The MIRI Sensor Chip Assembly (SCA) simulator. Steven Beard UK Astronomy Technology Centre Royal Observatory, Edinburgh, UK. ROE Workshop “Following the Photon”, 10-12 October 2011. JWST Instruments and Detectors. MIRI. NIRCAM. NIRSPEC. FGS-TFI. 3 Si:As detectors. 2 HgCdTe detectors.

torie
Download Presentation

The MIRI Sensor Chip Assembly (SCA) simulator

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. The MIRI Sensor Chip Assembly (SCA) simulator Steven Beard UK Astronomy Technology Centre Royal Observatory, Edinburgh, UK ROE Workshop “Following the Photon”, 10-12 October 2011

  2. JWST Instruments and Detectors MIRI NIRCAM NIRSPEC FGS-TFI 3 Si:As detectors 2 HgCdTe detectors 2 HgCdTe detectors 10 HgCdTe detectors

  3. JWST Detector Readout Each integration is made from several non-destructive reads, divided into groups.

  4. MIRI Summary Imager Coronagraph Low Res. Spectrograph • Medium Res. Spectrograph • Short wavelength • Long wavelength

  5. MIRI Modes to be Simulated MIRI has a number of different modes to be simulated, each of which include several common requirements:

  6. MIRI Modes to be Simulated MIRI has a number of different modes to be simulated, each of which include several common requirements: MRS mode is simulated by Specsim.

  7. MIRI Modes to be Simulated MIRI has a number of different modes to be simulated, each of which include several common requirements: MRS mode is simulated by Specsim. All the imager modes are simulated by MirimSim (Rene Gastaud’s presentation?).

  8. MIRI Modes to be Simulated MIRI has a number of different modes to be simulated, each of which include several common requirements: MRS mode is simulated by Specsim. All the imager modes are simulated by MirimSim (Rene Gastaud’s presentation). MTSSim simulates the telescope simulator used for Flight Model (FM) testing.

  9. MIRI Modes to be Simulated MIRI has a number of different modes to be simulated, each of which include several common requirements: MRS mode is simulated by Specsim. All the imager modes are simulated by MirimSim (Rene Gastaud’s presentation). MTSSim simulates the telescope simulator used for Flight Model (FM) testing. All the simulators share the same detector simulation – provided by SCASim.

  10. The MIRI Simulator Suite • Having a suite of simulators ensures that every problem is solved only once. • But we did miss the opportunity to share “simulate targets” and “simulate background”. • SCASim provides a common detector simulation service for the other simulators. • It converts detector illumination information from any MIRI simulator and generates simulated MIRI data in a choice of formats accepted by MIRI pipeline and analysis software.

  11. Required SCA Simulator Steps The SCA Simulator simulates: Quantum efficiency Reference pixels and outputs Bad pixels Dark current and hot pixels Persistence Readout modes Poisson noise and read noise Bias, gain and non-linearity Cosmic ray effects Subarray (window) modes The simulation is controlled by: Input parameters e.g. Readout mode Configuration information e.g. Detector properties Configuration measurements e.g. Dark current vs temperature Calibration data e.g. Bad pixel map X X X X

  12. Design Decisions • I used an Object-Oriented design that would make SCASim more flexible and reusable. • I also wrote the simulator in Python – an object-oriented language with several useful scientific and array processing add-ons (numpy, scipy, matplotlib, pyfits, etc…) • Since the JWST detector readout modes are very similar, I chose to make the SCASim workable with any JWST detector – not just the MIRI detectors. • So ngroups ≠ nframes. Useful for NIRCAM and NIRSPEC as well? • I also chose to encapsulate as much of the detector information in parameter files, rather than in software constants. • By modifying these parameters and/or the class methods, SCASim could be adapted to similar kinds of detector. • The simulator modules were developed along with unit tests. • This ensured that changes didn’t generate unwanted side effects.

  13. SCASim Design Name of class The SCA simulator has an object-oriented design. The core of the simulator is a Detector Array class. The operational interface is generic: All detectors are illuminated, reset, integrated and read out, or can be hit by a cosmic ray. The detailed implementation of the methods simulates the effects of the MIRI detector. This makes the design adaptable and reusable. Attributes Operations

  14. SCASim Design The detector uses a helper class, the Poisson Integrator, which encapsulates the Poisson statistics. Other associated classes are used to describe detector characteristics, such as bad pixels, hot pixels, dark current and quantum efficiency.

  15. SCASim Design Each detector may be read out by one or more amplifiers (4 in the case of MIRI + ref. output).

  16. SCASim Design Each detector may be read out by one or more amplifiers (4 in the case of MIRI + ref. output). Each amplifier is responsible for reading a particular slice (or zone) on the detector surface. Each amplifier has an associated gain, linearity and read noise. Note that dark current and read noise are derived from a generic “Measured Variable” class, used to described laboratory measurements (in this case measuring how dark current and read noise vary with temperature).

  17. SCASim Design Each detector may be read out by one or more amplifiers (4 in the case of MIRI + ref. output). Each amplifier is responsible for reading a particular slice (or zone) on the detector surface. Each amplifier has an associated gain, linearity and read noise. Note that dark current and read noise are derived from a generic “Measured Variable” class, used to described laboratory measurements (in this case measuring how dark current and read noise vary with temperature).

  18. SCASim Design The detector and the amplifiers can both be hit by cosmic rays during an integration, depending on the integration time and their target area. A Cosmic Ray Environment class describes the cosmic ray environment (solar condition etc…), and can generate Cosmic Ray events. Cosmic ray events are selected from a library of simulated events created by Massimo Roberto at STScI (for all JWST detectors).

  19. SCASim Design The SCA simulator also defines classes describing how an exposure is constructed from a series of integrations. The Integration class sequences the reset/integrate/readout operations in the Detector Array. An illumination map describes the intensity and wavelength of the illumination across the detector surface.

  20. SCASim Design Finally, these additional classes show how the contents of the input file are distributed, and how the data associated with each exposure is written to an output file. The Sensor Chip Assembly class manages the simulation and provides a selection of interfaces to the outside world (not shown here).

  21. SCASim External Interfaces

  22. SCASim Demonstration.Start with some test illumination data. Wavelength data Intensity data

  23. Add Reference Pixels and Outputs

  24. Apply Quantum Efficiency

  25. Add Bad Pixels

  26. Add Dark Current & Hot Pixels

  27. Apply Gain and Non-linearity

  28. Add Poisson Noise (frame 2/18 shown)

  29. Add Read Noise (frame 2/18 shown)

  30. Add Cosmic Ray Events(frame 8/18 shown)

  31. Build up of signal with group

  32. Build up of signal with group

  33. Build up of signal with group

  34. Build up of signal with group

  35. Build up of signal with group

  36. Build up of signal with group

  37. Build up of signal with group

  38. Build up of signal with group

  39. SCASim Experience Good Bad Too many inputs. Nobody has yet edited the configuration files or provided their own calibration files. But the simulation is only as good as the calibration and configuration info. given to it. Only known effects can be simulated. The underlying causes of the “first and last integration effect” and the “pixel lag” effect are not yet known. Perhaps caused by leaving detectors too long without flushing? Subarray vs full frame. But the simulator can help investigate such effects by trying out ideas. • OO design made SCASim highly flexible and reusable. • Rapid development time. • Additional effects (such as variable dark current and persistence) were easy to add. • Now a useful tool adaptable for other detectors. • SCASim made successful predictions for MIRI FM testing. • Expected S/N and exposure times. • Effect of cosmic ray hits. • It also helped development and testing of analysis software. • DHAS cosmic ray detection

  40. The MIRI Sensor Chip Assembly(SCA) Simulator - Summary • What does it do? • It simulates the behaviour of the MIRI detector chips and focal plane electronics. • This simulation is common to all MIRI simulators, so it saves duplication of effort. • What is it for? • MIRI observation planning. • MIRI Flight Model test planning. • JWST Pipeline development and testing. • Design Features • OO design, written in Python. • Highly adaptable and reusable. • Valid for all JWST detectors – could be adapted for other instruments.

  41. Questions? ?

More Related