Simulate the Hawaii sensor's responds to a given clocking pattern
This is part of my PhD camera system, for simulating the Hawaii sensor and ADC. It combines a physics model of the detector with code to interpret a .pbsim file (simulation replay log from the pulseblaster).
Given a pulseblaster program (.pbsrc), it can be parsed and simulated by the pulseblaster-compiler (pb_parse), and then played back into hawaiisim. It's particularly useful for validating that a clocking scheme is correct, and that it will actually address the particular pixels intended. The physics of the detector can also be simulated to a degree (notably light-pattern, noise, and mains-hum).
Bugs: the NI4462 ADC does not read one sample per edge (though it should); actually it has one edge and reads a million samples. This is not modelled; instead, we use "FAKEADC".
This was written as part of my PhD Infrared Camera system.