Vindaar / TimepixAnalysis

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

Replace fitting procs for Fe spectra etc. by Nim procs #19

Closed Vindaar closed 4 years ago

Vindaar commented 5 years ago

For every case where we call Python from Nim currently, we should at least replace the actual function calls, which are fitted by Nim procs, which we compile in the same module as the polya fit. That should already speed up the Python calls significantly.

Vindaar commented 4 years ago

This was done in the following commits:

See also: https://github.com/Vindaar/TimepixAnalysis/blob/master/Tests/reconstruction/tFitFe.nim for a test file of those fits.