IMPULSE MCA Update

PRA, BeqMoni, Theremino, Fitzpeaks and beyond!
Post Reply
User avatar
Sesselmann
Posts: 1281
Joined: 27 Apr 2015, 11:40
Location: Sydney
Contact:

IMPULSE MCA Update

Post by Sesselmann » 02 Jun 2024, 14:28

Hi All,

New improved version of IMPULSE MCA uploaded.

1) New pulldown selection to view previous recordings on tab2

2) Changed histogram to bar chart with black bars and red gaussian (more like PRA)

See attached screenshot.

Windows and Mac versions here: https://github.com/ssesselmann/impulse/releases

Steven
Attachments
IMPULSE MCA
IMPULSE MCA

User avatar
Sesselmann
Posts: 1281
Joined: 27 Apr 2015, 11:40
Location: Sydney
Contact:

Re: IMPULSE MCA Update

Post by Sesselmann » 11 Jun 2024, 21:22

Minor update released for Impulse today.

1) The pulse shape capture function has been improved

2) I added user feedback on tab1 to indicate what pulse shape capturing is doing and confirming it is working.

Steven

User avatar
Sesselmann
Posts: 1281
Joined: 27 Apr 2015, 11:40
Location: Sydney
Contact:

Re: IMPULSE MCA Update

Post by Sesselmann » 17 Jun 2024, 12:10

Can't keep myself from spending all weekend coding ... 😂

With a little help from ChatGPT I figured out a way to lookup isotopes and match them to the peaks. I added the lookup files as json files into the ~/impulse_data/i/tbl/ directory.
As the list of gamma and ex-ray was so long, I separated it into three files, xrays.json, gammas.json and ncapture.json, this made it more manageable. I'm not 100% sure if all these gammas need to be on the list, some of them may have very low intensity or be extremely rare. Someone with more knowledge than me may want to trim down these lists a bit to make it less confusing. Easy enough to do, just duplicate the data file and delete some rows.

How it works
For obvious reasons you need to carry out a good calibration on your detector first, record three known peaks and enter the bin and the energy for each peak into the calibration fields. If this is a pre-recorded spectrum you can update the calibration by clicking the "Update calib." button.

Note: Because this software runs in a browser you have to refresh your screen to see the new calibration.

These calibration points automatically save in the settings, so providing temperature and hardware settings remain constant your next recording will automatically use that calibration.

Follow these steps to see the isotope flags.

1) Turn on calibration
2) Select Gamma flags
3) Set sigma to 1
4) Click Isotope flags on

Clicking the same button again turns the flags off.

To see more or less flags you can try varying sigma, then resetting the flags by turning them off and on again.

To get a clean result the program uses the gaussian correlation and "sigma" for finding matching isotopes, essentially looking within the range shown in red on the image.

Have fun and please reply below 👇 if you find any issues.


Steven


PS: I did not include the energies or intensities in the flags, but the json tables do include this data.




Flags added to impulse
Flags added to impulse

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests