Re: [PyMCA] extracting multiple scans from a SPEC file
Brought to you by:
vasole
|
From: <so...@es...> - 2012-04-02 18:00:31
|
Dear Ken, Quoting Kenneth David Finkelstein: > Dear User Community, > > > One can use PyMCA to select a series of scans within a spec file & > display them as counter vs motor position > > on the same graph. But can one then save the displayed results in a new file? > > > > To be specific it would be very convenient in PyMCA to plot > column-n/column-m vs column-1 for a > The problem is that nobody warrants that all the scans will have the same X axis nor the same number of points. > > group of scans then save the results to a new file. At present on > can do this for the "active scan" but I > > don't know how to do it, in parallel, for more than one scan. > Have you tried the "Specfile Multiscan" option? > > > Ideally, if this could be done, the new file would consist of a set > of columns: > > the first is column 1 above the remaining columns contain column > n/column-m for each scan. > That would be very easy to implement as a ScanWindow plugin (See the PyMcaPlugins directory for examples). The only difficulty is how to deal with different number of points (one possibility would be interpolation) or incompatible ranges (not overlapping X axes). It is because of all those reasons that I offer that in a format that allows me to overcome those difficulties. I may add HDF5 export in the near future. Best regards, Armando |