I need to find a decent Spice simulator that runs on Linux to check some of these ideas out. EasyEDA claims to include a simulator in their free web-hosted schematic capture and PCB layout tool so I will look into that to see how difficult it is to use. Since it's browser-based it runs independently of the OS.
Thanks for the Theremino link
Re: SPICE
ng-spice works with Kicad, gEDA, (forked lepton-eda) and a number of others.
The full blown tool is qucs. That is more than original Spice network matrix solving. It extends into harmonic balance and suchlike.
Getting up an instant powerful spice-only tool, use immediately, free, is to get LTSpiceXVII from Linear Technology (now part of Analog Devices). It loaded into my Linux Mint, and when I clicked on it, the system fetched and installed wine, and installed it.
LTSpice was aimed at letting prospective customers figure out designs for switched-mode power supplies, using quite elaborate models of LT products as sub-circuits and fast mathematical models, but it is a general purpose SPICE engine.
Now that Linear Tech is part of Analog Devices, I am about to check out if the A/D converters are modeled.
https://www.analog.com/en/design-center/design-tools-and-calculators/ltspice-simulator.html#
You can, of course, run it under Windows. Your mileage will vary. It runs perfectly OK on Linux under Wine.
Kicad can make any PCB you like, and produces files to have the made online, and posted.
If you want to keep your EDA programs in-house, then..
apt update
apt install kicad
or .. just use your package installer - Synaptic, whatever.
gEDA, or it's fork Lepton-EDA also has all the power, but it takes a significant effort to go up it's learning curve, make the models, get the connections between footprints and schematics to work seamlessly.
Right now, believe it or not, sketches in school-style 5mm squares feint ruled paper using colour crayons, pencils, and generally anything that makes a mark actually works.
Getting back to the point about A/D sampling. Everything I know says that one should grab as much information as possible, with as high a sample rate as possible, and then apply the smarts. If all we need is the value of a peak, and we have a way of "telling" if there are two peaks, or some other combination, then we can use a simpler analogue electronics and a slow sampler. I am willing to explore both ways, but looking at the titles in the PyMca software, clearly they want a good representation of the whole scintillation.
Re: Theremino. All the code related to the PIC at the heart of it is compiled from C sources available. Not so the display. The "app" that goes on a PC, apparently to handle various data protocols for external devices, communicated via USB, is a closed source proprietary .exe executable, and no app for a phone that I could see. I won't be using it. The Pi is low cost enough, and powerful enough to do it's own video, and if you really do need to have it show on some other PC's monitor, then use NoMachine and a network. A USB link to phone which provides a remote display - like a GoPro, can be a separate project.