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

How to create an authentic dark file? #33

Open
exowanderer opened this issue Jul 22, 2019 · 1 comment
Open

How to create an authentic dark file? #33

exowanderer opened this issue Jul 22, 2019 · 1 comment

Comments

@exowanderer
Copy link
Contributor

  • pyNRC version: 0.8.0
  • Python version: 3.6.7
  • Operating System: Ubuntu 18.04 LTE

Description

I am trying to generate authentic dark current files to help simulate background noise properties and use those to mitigate future TSO observational simulations. This would go slightly above nghxrg by having 'real' dark current.

My solution was to generate an image of a star that is too faint for NRC to detect (M_ab ~ 50); but I would be very happy to see "get_dark_current", "get_bias", "get_noise_signals" functions.

What I Did

import pynrc
pynrc.generate_dark_current()
AttributeError: module 'pynrc' has no attribute 'get_dark_current'
@JarronL
Copy link
Owner

JarronL commented Nov 22, 2021

Been a couple years, but check out the latest develop branch of pynrc: https://github.com/JarronL/pynrc/tree/develop (to be pushed to the main branch soon). Specifically the simulate_detector_ramp in pynrc.simul.ngNRC.py.

Input requires a NIRCam cal object using the nircam_cal class in pynrc.reduce.calib.py.

All NIRCam cal files here for simulating realistic ramps: http://mips.as.arizona.edu/~jleisenring/pynrc/

@JarronL JarronL closed this as completed Nov 22, 2021
@JarronL JarronL reopened this Nov 22, 2021
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

2 participants