Skip to content

Inter-pixel capacitance for MICADO#354

Draft
oczoske wants to merge 1 commit into
dev_masterfrom
oc/inter_pixel_capacitance
Draft

Inter-pixel capacitance for MICADO#354
oczoske wants to merge 1 commit into
dev_masterfrom
oc/inter_pixel_capacitance

Conversation

@oczoske
Copy link
Copy Markdown
Contributor

@oczoske oczoske commented May 25, 2026

This PR includes the InterPixelCapacitance effect in MICADO_H4RG.yaml. The parametrisation and parameter values are taken from Kannawadi et al., PASP 128, 095001 (2016) and are currently identical to those used in METIS (cf. #272). They should be updated when measurements become available.

By default, the effect is not included. To include set opttrain['ipc'].include or !DET.include_ipc to True.

Example:

cmd = sim.UserCommands(use_instrument="MICADO", set_modes=["SCAO", "IMG_4mas"])
mcd = sim.OpticalTrain(cmd)
mcd['filter_wheel_2'].change_filter('block')   # observe dark
mcd.observe()
# without ipc
hdul = mcd.readout(dit=100, ndit=1)[0]
np.mean(hdul[1].data)     # 4199.027
np.std(hdul[1].data)         # 63.902557
# with ipc
mcd['ipc'].include = True
hdul = mcd.readout(dit=100, ndit=1)[0]
np.mean(hdul[1].data)     # 4199.8267      (identical mean)
np.std(hdul[1].data)         # 59.013878       (reduced noise)

Closes #346

@oczoske oczoske self-assigned this May 25, 2026
@oczoske oczoske added instrument-specific Limited to a certain IRDB instrument package data update New version of or change to a data file instrument definition Addition or modification of instrument YAMLs MICADO labels May 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

data update New version of or change to a data file instrument definition Addition or modification of instrument YAMLs instrument-specific Limited to a certain IRDB instrument package MICADO

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Inter-pixel capacitance in MICADO

2 participants