Skip to content
New issue

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

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

Already on GitHub? # to your account

Dark current in infrared unrealistic #6

Open
mb2448 opened this issue Jan 24, 2020 · 3 comments
Open

Dark current in infrared unrealistic #6

mb2448 opened this issue Jan 24, 2020 · 3 comments

Comments

@mb2448
Copy link

mb2448 commented Jan 24, 2020

Hello,

In running the script luvoir_demo.py demo, the dark current appears to precipitously drop off around 1 micron.

Figure_1

This is the opposite behavior of what one would expect. Dark current for infrared detectors is far higher than for optical, for equal pixel sizes. Why does this occur? The culprit appears to be this set of lines in the function set_dark_current

    if NIR:
        iNIR  = (lam > 1.0)
        # Set dark current based on NIR detector properties
        if ( lammax <= 2.0 ): De[iNIR] = De_nir * np.power(10., (Tdet-120.)*7./100. )
        if ( lammax > 2.0 ) and ( lammax <= 4.0 ): De[iNIR] = De_nir * np.power(10., (Tdet-80.)*9./140. )
        if ( lammax > 4.0 ) and ( lammax <= 7.0 ): De[iNIR] = De_nir * np.power(10., (Tdet-40.)*11./140. )
        if ( lammax > 7.0 ): De[iNIR] = De_nir * np.power(10., (Tdet-30.)*11./70. )
        # Don't let dark current fall below a threshold
        iDe = (De[iNIR] < De_nir)
        De[iNIR][iDe] = De_nir

    return De

where the default value for De_nir is 0.001 e/pix/s. This appears to be a typo, as this does not look correct. Dark current rates for H2RGs are about 0.01 e/pix/s (see Figure 1 [here] (https://iopscience.iop.org/article/10.1086/661663)) and for SAPHIRA LmAPDs it is about a half of this in some published data.

@tdrobinson
Copy link
Collaborator

tdrobinson commented Jan 24, 2020 via email

@jlustigy
Copy link
Owner

I second Ty's assessment here.

However, there is an extra subtlety in the code that I should mention and perhaps we can change the default behavior. By default (in luvoir_demo.py and in count_rates()) NIR = False for the purpose of setting the wavelength dependence of the dark current. But NIR = True for setting the size of the lenslets. So the behavior above appears to be only due to the drop in the number of contributing pixels at/beyond 1 µm, as Ty described. @tdrobinson, would you recommend any changes to this behavior?

Furthermore, I would caution that the telescope and instrument parameters in the luvoir_demo.py script are out-of-date relative to the LUVOIR Final Report. In my recent work with the LUVOIR team, I defined separate Telescope objects for each LUVOIR channel (UV, visible, NIR), each with their own nominal parameters. A similar procedure could be useful in this case.

@mb2448
Copy link
Author

mb2448 commented Jan 24, 2020 via email

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

No branches or pull requests

3 participants