Extract EMLF Results via Jupyter
-
How do we extract EMLF results via Jupyter? I'd specifically like to know if there is a way to generate images of slice viewers via the API. I can see how to extract the data cache from an analysis, but I cannot seem to access results contained within the data cache, and I cannot find any documentation that supports how to do this.
For context, I am running custom parameter sweeps via Jupyter. Every time we begin a new EMLF simulation with new settings, it deletes the results from the previous simulation. Automating the data extraction process is thereby very important for programmatic analysis downstream.
-
To learn how to do this using the Python API, the most straightforward approach is to run the simulation, set up the analysis pipeline, and select, e.g., the slice field viewer and run the "To Python (selected)". This will generate the script and open it in the "Scripter" window.
You can then edit and copy this code to a cell in your notebook.
Many of the Jupyter notebook tutorials under Help -> Examples will run a simulation and extract results. Consider browsing through these to find examples most similar to your needs.