intro and question regarding signal fitting procedure

Come here to introduce yourself, who you are, and what you do
Post Reply
GrotcH
Newbie
Posts: 1
Joined: Thu Aug 20, 2020 5:07 pm

intro and question regarding signal fitting procedure

Post by GrotcH »

Hello,

I am a researcher in a lab that uses ion beams to study nuclear reaction fueling stars. In our lab we use beam profile monitors (BPM) to estimate the size of the ion beam at a given location. The signal from those beam profile monitors looks like the attached picture, roughly two Gaussian looking "curves" one representing the horizontal and the other the vertical extension of the beam. The shape of the two "peaks" change with the tune.
Until now we have used outdated oscilloscopes to display the information. We recently purchased a picoscope 2205A for another application and I am wondering if there would be a way to use it, or another model, to extract the centroid and width of the two "Gaussians" in order to extract quantitative information.
For example by fitting the two curves with a Gaussian function or by simpler statistical analysis.
Is that something we could do live with the existing software? Would we have to use the Matlab interface? We use labview for the accelerator control we would be open to use it for the BPM signal analysis.
I am very new at using this device and the amount of possibilities are a little overwhelming, I would appreciate some direction.
Best regards,
GrotcH
Attachments
14N2_bpm1-min.jpg

Gerry
PICO STAFF
PICO STAFF
Posts: 1145
Joined: Mon Aug 11, 2014 11:14 am

Re: intro and question regarding signal fitting procedure

Post by Gerry »

Hi GrotcH,

Within our PicoScope 6 software, we have numerical tools to perform automatic measurements, automatic basic statistical analysis on those measurements, and mathematical functions on the actual waveforms (using Math Channels). There are 2 problems with what you are asking, in that the Math Channels can't use measured values from the automatic measurements (which you would need), and the Math Channels also can't be applied independently to the 2 captured waveforms.

So, as I see it, you have 2 options available to you, as follows:

1/ You can export the data as a CSV file, or .mat file, and then import the CSV file into Microsoft Excel,or Matlab where you have functions to perform the statistical calculations on sections of the waveform (for instance, you could use a graph of the function to locate the start and end points of the waveforms, and then apply the statistical calculation Macro between those 2 points).

2/ You could download our Software Development Kit for Matlab (see here: https://www.picotech.com/library/oscill ... nt-kit-sdk), and then use our example code to perform basic capture (see here: https://github.com/picotech?q=&type=&language=matlab), adding functions to either (a) detect the start and end points using hysteresis, or filter the higher frequency noise from the data and then detect the start and end points (to eliminate false start and end points generated by noise) and then perform your calculations on the isolated waveforms.

Regards,

Gerry
Gerry
Technical Specialist

Post Reply