[23]:
import CactusTool
name = 'BBH0001_D15'
sim = CactusTool.load(name, '/Volumes/simulations/HUST_Catalog')
# ftype include ['', 'minimum', 'maximum', 'norm1', 'norm2', 'average', 'scalars']
ftype = 'maximum'
print(sim.Scalar(ftype))
Reduction type: 'maximum'
File Name Variables
--------- ---------
ml_admconstraints-ml_ham ['H']
systemstatistics-process_memory_mb ['maxrss_mb', 'majflt_mb', 'arena_mb', 'ordblks_mb', 'hblks_mb', 'hblkhd_mb', 'uordblks_mb', 'fordblks_mb', 'keepcost_mb', 'swap_used_mb']
ml_admconstraints-ml_mom ['M1', 'M2', 'M3']
[24]:
var = 'H'
scalar = sim.Scalar(ftype)['ml_admconstraints-ml_ham'].dsets(var)
[25]:
scalar.clip(5, 700).preview()
[ ]: