You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Instead of specifying a single index as an argument to these options, you can also specify a range of indices in a Matlab-like notation: start:step:end or start:end (step defaults to 1). This loops over that slice index, from start to end in steps of step, producing a sequence of output PNG files (with the slice index appended to the filename, before the .png).
Matlab (and python) support shorthand for all indices along a dimension (mainly the :: style syntax) as well as "end" shorthand (end in Matlab and -1 in python).
Supporting this would be helpful, e.g. when scripting h5topng with MEEP, and simulations will run until different times. If this is already implemented, it is not obvious how to use this.
The text was updated successfully, but these errors were encountered:
Matlab (and python) support shorthand for all indices along a dimension (mainly the
::
style syntax) as well as "end" shorthand (end
in Matlab and-1
in python).Supporting this would be helpful, e.g. when scripting
h5topng
with MEEP, and simulations will run until different times. If this is already implemented, it is not obvious how to use this.The text was updated successfully, but these errors were encountered: