I experimented with removing somethings here and there to reduce the c1cal runtime. Eventually I deleted the LSC Sensing Matrix from it.
- Ever since the upgrade, the c1cal has gone from 60 to 68 usec run time, so its constantly over.
- Back when Jenne set it up back in Oct 2013, it was running at 39 usec.
- The purely CAL stuff had some wacko impossible filters in it: please don't try to invert the AA filters making a filter with multiple zeros in it Masayuki.
- I removed the weird / impossible / unstable filters.
- I'm guessing that the sensing matrix code had some hand-rolled C-code blocks which are just not very speedy, so we need to rethink how to do the lockin / oscillator stuff so that it doesn't overload the CPU. I bet its somewhere in the weird way the I/Q signals were untangled. My suggestion is to change this stuff to use the standard CDS lockin modules and just record the I/Q stuff. We don't need to try to make magnitude and phase in the front end.
After removing sensing matrix, the run time is now down to 6 usec. |