pyOPALTools issueshttps://gitlab.psi.ch/OPAL/pyOPALTools/-/issues2020-06-08T16:50:33+02:00https://gitlab.psi.ch/OPAL/pyOPALTools/-/issues/86Add new dataset for field data on grid2020-06-08T16:50:33+02:00frey_mAdd new dataset for field data on gridOPAL writes the field data on the grid to file if `DBG_SCALARFIELD` is enabled. We should provide a parser, dataset and plotting functions.OPAL writes the field data on the grid to file if `DBG_SCALARFIELD` is enabled. We should provide a parser, dataset and plotting functions.frey_mfrey_mhttps://gitlab.psi.ch/OPAL/pyOPALTools/-/issues/58update of probe plotting utilities2020-04-07T10:46:34+02:00frey_mupdate of probe plotting utilitiesDue to the changes made in https://gitlab.psi.ch/OPAL/src/merge_requests/161 the plotting functions of the probe dataset (H5) are not valid anymore if the probe is saved with `OPTION,PSDUMPEACHTURN=TRUE`. However, we need to guarantee bo...Due to the changes made in https://gitlab.psi.ch/OPAL/src/merge_requests/161 the plotting functions of the probe dataset (H5) are not valid anymore if the probe is saved with `OPTION,PSDUMPEACHTURN=TRUE`. However, we need to guarantee both versions.https://gitlab.psi.ch/OPAL/pyOPALTools/-/issues/75H5Parser method to close files2020-03-26T17:43:21+01:00snuverink_jjochem.snuverink@psi.chH5Parser method to close filesFrom Sebastian Thomas:
> I have a question concerning the H5Parser https://gitlab.psi.ch/OPAL/pyOPALTools/blob/master/opal/parser/H5Parser.py
>
> I'm not an extremely experienced coder, but shouldn't the file opened in H5Parser.parse("f...From Sebastian Thomas:
> I have a question concerning the H5Parser https://gitlab.psi.ch/OPAL/pyOPALTools/blob/master/opal/parser/H5Parser.py
>
> I'm not an extremely experienced coder, but shouldn't the file opened in H5Parser.parse("file") via
>
> `self.__h5f = h5py.File(fname, 'r')`
>
> be closed again? Wenn I use the parser on an H5 file in a juyter notebook, I run into some problems because for example OPAL tries to delete the monitor output, but is not allowed to, due to the file "beeing in use". I ask mainly out of curiosity.
Since h5py 2.4 opened file will automatically close:
http://docs.h5py.org/en/stable/whatsnew/2.4.html#files-will-now-auto-close
However, if the H5Parser still exists, this will not work, and it would be nice to have a manual option to close the file.
Proposal is to add a specific close method to H5Parser, as discussed with @frey\_m.snuverink_jjochem.snuverink@psi.chsnuverink_jjochem.snuverink@psi.chhttps://gitlab.psi.ch/OPAL/pyOPALTools/-/issues/48Additional radial statistics2019-08-15T14:14:07+02:00frey_mAdditional radial statisticsAdd the evaluation of radial moments and the radial projected emittanceAdd the evaluation of radial moments and the radial projected emittancefrey_mfrey_mhttps://gitlab.psi.ch/OPAL/pyOPALTools/-/issues/46confidence interval using bootstrap2019-08-15T14:14:07+02:00frey_mconfidence interval using bootstrapWhen we have a surrogate model we might plot a confindence interval. In order to do the confidence interval of a surrogate model the bootstrap method can be applied.When we have a surrogate model we might plot a confindence interval. In order to do the confidence interval of a surrogate model the bootstrap method can be applied.frey_mfrey_mhttps://gitlab.psi.ch/OPAL/pyOPALTools/-/issues/47Select turn and bunch number from H52019-07-25T13:59:18+02:00frey_mSelect turn and bunch number from H5Currently we can only select a turn or a bunch from H5. It should be made a bit more general: First select a bunch and then a turn (if available).Currently we can only select a turn or a bunch from H5. It should be made a bit more general: First select a bunch and then a turn (if available).frey_mfrey_mhttps://gitlab.psi.ch/OPAL/pyOPALTools/-/issues/412d_halo_projection2019-07-20T15:49:58+02:00frey_m2d_halo_projectionfrey_mfrey_mhttps://gitlab.psi.ch/OPAL/pyOPALTools/-/issues/36Analyse Optimizer output2019-06-29T18:15:22+02:00frey_mAnalyse Optimizer outputSince https://gitlab.psi.ch/OPAL/src/merge_requests/102 OPAL writes a Pareto file. It would be nice having some tools to evaluate e.g. the *best* individual etc. A user might give function handles to be evaluated on the data set.Since https://gitlab.psi.ch/OPAL/src/merge_requests/102 OPAL writes a Pareto file. It would be nice having some tools to evaluate e.g. the *best* individual etc. A user might give function handles to be evaluated on the data set.frey_mfrey_mhttps://gitlab.psi.ch/OPAL/pyOPALTools/-/issues/19Dataset Information2019-04-06T15:27:00+02:00frey_mDataset InformationAs discussed with @snuverink_j we should add a function like ```summary``` to the dataset classes that prints the available variables etc.
- [x] DatasetBase.py
- [x] H5Dataset.py
- [x] MemoryDataset.py
- [x] PeakDataset.py
- [x] SolverD...As discussed with @snuverink_j we should add a function like ```summary``` to the dataset classes that prints the available variables etc.
- [x] DatasetBase.py
- [x] H5Dataset.py
- [x] MemoryDataset.py
- [x] PeakDataset.py
- [x] SolverDataset.py
- [x] TrackOrbitDataset.py
- [x] OptimizerDataset.py
- [x] ProbeHistDataset.py
- [x] StatDataset.py
- [x] GridDataset.py
- [x] LBalDataset.py
- [x] OutputDataset.py
- [x] SamplerDataset.py
- [x] TimeDataset.py
frey_mfrey_mhttps://gitlab.psi.ch/OPAL/pyOPALTools/-/issues/29ASCII Loss files2019-04-05T09:02:05+02:00snuverink_jjochem.snuverink@psi.chASCII Loss filesRequested by @ext\-calvo\_p : loss files (.loss) are missing.Requested by @ext\-calvo\_p : loss files (.loss) are missing.frey_mfrey_mhttps://gitlab.psi.ch/OPAL/pyOPALTools/-/issues/8Statistics Plot - Single Bunch vs. Multi Bunches2019-03-26T16:07:11+01:00frey_mStatistics Plot - Single Bunch vs. Multi BunchesDevelop some statistics plotting methods for single and multi bunch simulations.Develop some statistics plotting methods for single and multi bunch simulations.frey_mfrey_mhttps://gitlab.psi.ch/OPAL/pyOPALTools/-/issues/13Parsing and Plotting of probe and peak file data.2019-01-30T16:25:42+01:00frey_mParsing and Plotting of probe and peak file data.After a discussion with @snuverink_j we decided to add plotting and parsing tools of probe and peak file data.After a discussion with @snuverink_j we decided to add plotting and parsing tools of probe and peak file data.frey_mfrey_mhttps://gitlab.psi.ch/OPAL/pyOPALTools/-/issues/9Implementation of envelope plot2018-03-27T13:58:58+02:00frey_mImplementation of envelope plotThe envelope plot is a nice view of the beamline for OPAL-T.
Please fill the gaps in
[LatticeParser.py](https://gitlab.psi.ch/OPAL/pyOPALTools/blob/master/utilities/LatticeParser.py)
and
[plot_envelope function](https://gitlab.psi.ch...The envelope plot is a nice view of the beamline for OPAL-T.
Please fill the gaps in
[LatticeParser.py](https://gitlab.psi.ch/OPAL/pyOPALTools/blob/master/utilities/LatticeParser.py)
and
[plot_envelope function](https://gitlab.psi.ch/OPAL/pyOPALTools/blob/master/opal/visualization/plots.py#L155)ganz_pganz_phttps://gitlab.psi.ch/OPAL/pyOPALTools/-/issues/3Pareto front viewer2017-06-29T13:27:00+02:00adelmannPareto front viewerUpdate to new format
[1_Ring.dat_0.json](/uploads/c428655026db65955a65d3cad90754a5/1_Ring.dat_0.json)Update to new format
[1_Ring.dat_0.json](/uploads/c428655026db65955a65d3cad90754a5/1_Ring.dat_0.json)frey_mfrey_m