opal AT lists.psi.ch
Subject: The OPAL Discussion Forum
List archive
- From: Philippe Piot <piot AT nicadd.niu.edu>
- To: Philippe Piot <piot AT nicadd.niu.edu>
- Cc: opal <opal AT lists.psi.ch>
- Subject: [Opal] error when opening json samples file with pyOPALTools
- Date: Tue, 21 Apr 2020 19:12:57 -0500
Dear All,
I am trying to open the attached json file produce from a scan in opal using pyopalTool. Simply doing
--
from opal import load_dataset, filetype
ds = load_dataset('phiscan/', fname='phiscan_samples_0.json')
ds = load_dataset('phiscan/', fname='phiscan_samples_0.json')
--
gives the error
--Found 1 json files from 1 optimizers and 0 pareto front files
2020-04-21 19:10:10,208 - opal - ERROR - invalid literal for int() with base 10: 'phiscan'
2020-04-21 19:10:10,208 - opal - ERROR - invalid literal for int() with base 10: 'phiscan'
--
Thank you for any suggestions. All the best, -- Philippe.
Philippe Piot,
https://www.niu.edu/advanced-accelerator-randd/
Northern Illinois University, Dept of Physics and
Northern Illinois Center for Accelerator & Detector Development
DeKalb, IL 60115, USA
Tel: 815 753 6473, Web: http://www.physics.niu.edu/physics/
Argonne National Laboratory, Advanced Photon Source
Accelerator System Division
https://www.niu.edu/advanced-accelerator-randd/
Northern Illinois University, Dept of Physics and
Northern Illinois Center for Accelerator & Detector Development
DeKalb, IL 60115, USA
Tel: 815 753 6473, Web: http://www.physics.niu.edu/physics/
Argonne National Laboratory, Advanced Photon Source
Accelerator System Division
Lemont, IL 60439, USA
Tel: 630 252 2415, Web: https://www.aps.anl.gov/Accelerator-Systems-Division On Tue, Apr 21, 2020 at 6:32 AM Philippe Piot <piot AT nicadd.niu.edu> wrote:
Dear All,Does somebody could share an example of an opal input file demonstrating how to scan a parameter (e.g. a solenoid B field) and record some of the beam parameters at the end of the beamline. Right now I am doing this externally (with my own scripts) but I am wondering if this is possible with the sampler feature. Thank you, -- Philippe.Philippe Piot,
https://www.niu.edu/advanced-accelerator-randd/
Northern Illinois University, Dept of Physics and
Northern Illinois Center for Accelerator & Detector Development
DeKalb, IL 60115, USA
Tel: 815 753 6473, Web: http://www.physics.niu.edu/physics/
Argonne National Laboratory, Advanced Photon Source
Accelerator System DivisionLemont, IL 60439, USATel: 630 252 2415, Web: https://www.aps.anl.gov/Accelerator-Systems-Division
Attachment:
phiscan_samples_0.json
Description: application/json
- [Opal] example of parameter scan in opal, Philippe Piot, 04/21/2020
- AW: [Opal] example of parameter scan in opal, Frey Matthias (PSI), 04/21/2020
- Re: [Opal] example of parameter scan in opal, Philippe Piot, 04/21/2020
- AW: [Opal] example of parameter scan in opal, Frey Matthias (PSI), 04/21/2020
- Re: [Opal] example of parameter scan in opal, Philippe Piot, 04/21/2020
- AW: [Opal] example of parameter scan in opal, Frey Matthias (PSI), 04/21/2020
- AW: [Opal] example of parameter scan in opal, Frey Matthias (PSI), 04/21/2020
- Re: [Opal] example of parameter scan in opal, Philippe Piot, 04/21/2020
- AW: [Opal] example of parameter scan in opal, Frey Matthias (PSI), 04/21/2020
- Re: [Opal] example of parameter scan in opal, Philippe Piot, 04/21/2020
- [Opal] error when opening json samples file with pyOPALTools, Philippe Piot, 04/22/2020
- AW: [Opal] error when opening json samples file with pyOPALTools, Frey Matthias (PSI), 04/22/2020
- AW: [Opal] error when opening json samples file with pyOPALTools, Frey Matthias (PSI), 04/22/2020
- AW: [Opal] error when opening json samples file with pyOPALTools, Frey Matthias (PSI), 04/22/2020
- AW: [Opal] example of parameter scan in opal, Frey Matthias (PSI), 04/21/2020
Archive powered by MHonArc 2.6.19.