bearing / dosenet-raspberrypi

Raspberry Pi specific software for dosimeters.
MIT License
7 stars 21 forks source link

D3 s #63

Closed tybtab closed 8 years ago

tybtab commented 8 years ago

Here is what I have so far. I can't get the bash script working currently, but the manager file seems to be working fine.

bplimley commented 8 years ago

The plotting is a good start. However, I'm only seeing counts from 8 < x < 62, out of 512, even though the data clearly has counts up to the end of the spectrum.

In addition, the x axis should actually be channel number out of 4096, even if you rebin it.

bplimley commented 8 years ago

Also, did you check how much drift is in the Kromek controller's time? Use time.time() for sub-second precision and see what happens over a number of time intervals (say, >10).

tybtab commented 8 years ago

60 second interval time drift: 60.367 60.129 60.028 60.083 60.025 60.028 60.041 60.043

tybtab commented 8 years ago

10 second interval time drift 10.313 10.0027 10.055 10.00489 9.9489 10.000942 10.05486 9.9549

tybtab commented 8 years ago

I was using another branch for calibration. I removed the calibration pull request and merged the calibration branch into the D3S branch (this branch) to make testing calibration easier

tybtab commented 8 years ago

There has been some weird behavior with starting the D3S. I usually resolve it by restarting the raspberrypi. I'll start documenting them. I can also probably remove the "Got Sigterm". For the other ones, I'll hopefully have them merged on Monday.

bplimley commented 8 years ago

Okay. Yes, please document. Regarding the "Got Sigterm", in the long run it could be removed, but right now I'm not sure why it is showing up every cycle. So do not remove it yet, I would prefer to figure out what is going on. Thanks.

bplimley commented 8 years ago

There are a few minor issues but for the sake of moving forward, I've merged this. Sorry for the long delay.