Page History
...
Check that the filters do not filter out all the pulses. In the current state, if all shots are being filtered, the job will just hang forever. This can easily spotted by looking for the following section in the log file:
Code Block language bash theme RDark did not select any event, quit now! getFilter: Cut 0.500000 < evr/code_94 < 1.500000 passes 0 events of 11252, total passes up to now: 0 getFilter: Cut 24.464119 < scan/diag_x < 24.496000 passes 11252 events of 11252, total passes up to now: 0 getFilter: Cut 0.500000 < damage/jungfrau1M < 1.500000 passes 11252 events of 11252, total passes up to now: 0
The MPI error handling is not yet in a very good state. If one of the rank fails (often rank 0), the other rank will still be hanging there, waiting for further tasks. The job will hang forever. In this case, a traceback of the error will be printed towards the end of the log file (it is not always at the very end). It typically can be identified by a line looking like:
Code Block language bash theme RDark Traceback (most recent call last): ...
Notes on the multi-dimensional cube
This feature is still in development, but is fully functional. Clean-up and quality of life improvements are to be expected though.
A second (or more) bin-axis can be selected following a similar run-dependent logic as for the main bin axis
Example:
Code Block | ||||
---|---|---|---|---|
| ||||
def get_addBinVars(run):
if isinstance(run,str):
run=int(run)
addBinVars = None
if run==128:
addBinVars = {'ipm2/sum': np.linspace(0,4e4,4)}
return addBinVars |
The additional axis as passed as a dictionary as {'<variable>': <bin_array>}
Cubed file content
The bin variables are handled slightly differently than in the regular cube. In the future, more uniformity can be expected.
The cubed variables now have a shape matching that of the bin-axis (i.e. (size(bin_axis1), size(bin_axis2), ...)
).
The bin-axis are being saved as 1-dimensional array named bin_<axis-name>
.
Analyze cube results
An example notebook of a cube file analysis can be found in /cds/group/psdm/sw/tools/smalldata_tools/example_notebooks/cube.ipynb
.