faster dark counts spectra through fortran triggering