Vindaar / TimepixAnalysis

Contains code related to calibration and analysis of Timepix based detector + CAST related code
MIT License
20 stars 6 forks source link

Timepix3 data for compton camera #57

Open stefenmax opened 1 month ago

stefenmax commented 1 month ago

Hi, Thanks for your excellent work. I've recently obtained some Timepix3 data for Compton camera imaging using Advacam. As a novice with Timepix3 data, I need to preprocess the raw data, including calculating the energy from the ToT value and decoding the matrix index to determine pixel positions. Can your code assist with these tasks, or is it specifically designed for the CAST experiment?

Vindaar commented 1 month ago

Hey!

Sorry for the late reply!

I'm not really familiar with Advacam. I assume it's a commercial, Timepix3-based detector?

There's a lot in this repository that may be helpful to you. I.e. energy calculation from ToT values. However, this for example requires you to have a ToT calibration dataset. For the decoding of the data to determine pixel positions, it will heavily depend on the format the data is in at the moment. Do you have any documentation about your detector? For example this code here: https://github.com/Vindaar/TimepixAnalysis/blob/master/Analysis/ingrid/parse_raw_tpx3.nim is the logic that decodes our raw Timepix3 data. But whether that is applicable to your data is dependent on what data your detector really outputs.

In a similar vein, https://github.com/GasDet-Bonn/tpx3-daq is a DAQ software by our group for Timepix3 based detectors. It contains lots of code related to (obviously) Timepix3 readout and also Timepix3 calibrations.

If you provide more information either me or people from my group might be able to help more.

Cheers!