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

Very long characterization of dark spectra in adaptive mode #87

Closed
christophkern opened this issue Jul 14, 2018 · 2 comments

Comments

Projects
None yet
2 participants
@christophkern
Copy link

commented Jul 14, 2018

It currently takes a very long time to characterize the dark spectra when using adaptive mode, particularly when using a dual-channel spectrometer. I recommend we reduce this time by reducing the number of spectra collected for characterization of the offset. Currently, it appears that 6,000 spectra are recorded at 3 ms. I suggest using 1,000 spectra instead. This should be sufficient. If wanted, one could also provide an option for changing these parameters, i.e. the user could set the number of spectra for offset characterization and the exposure time for dark current characterization (currently fixed at 10 seconds I think). But just reducing the default number of spectra for offset characterization to 1,000 would be simple and save a lot of time.

@dnorgaard-usgs dnorgaard-usgs self-assigned this Jul 19, 2018

@dnorgaard-usgs

This comment has been minimized.

Copy link
Contributor

commented Jul 19, 2018

Updated code under adaptive mode to below. Let me know if you think a different combination should be used.

//m_sumInComputer       = 400;
//m_sumInSpectrometer   = 15;
m_sumInComputer = 100;     // number to integrate in computer
m_sumInSpectrometer = 10;  // number to integrate in spectrometer

dnorgaard-usgs added a commit to dnorgaard-usgs/MobileDOAS that referenced this issue Jul 19, 2018

dnorgaard-usgs added a commit to dnorgaard-usgs/MobileDOAS that referenced this issue Jul 19, 2018

@dnorgaard-usgs

This comment has been minimized.

Copy link
Contributor

commented Jul 19, 2018

Adjusted per...

On Thu, Jul 19, 2018 at 12:49 PM, Kern, Christoph wrote:
Hi Diana

thanks for this. Summing in the spectrometer is much faster than summing in the computer. Therefore, it's probably best to leave suminspectrometer at 15. Maybe just change sumincomputer to from 400 to 100. I know that give 1500 spectra rather than 1000, but it will still accelerate things by a factor of 4.

Thanks

Christoph

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.