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
extend the config.imageseries.ImageSeriesConfig class to allow either ints or list of ints for omega:start, omega:stop, and omega:step. Lists should be all the same length, and will be zipped together to provide a list of ranges:
ranges = [range(start, stop, step) for start, stop, step in zip(ome.start, ome.stop, ome.step)]
Also, add a property that returns a list (or np array?) of omega values.
@joelvbernier, in what form are the disconnected omega ranges consumed by the library? Does it need a list of ranges, or a list of discrete omega values?
The text was updated successfully, but these errors were encountered:
My thought was a list of suspects just as for a single range. That is, a start and a Delta, and (optionally?) a stop. One obvious use case is for something like a diamond anvil cell where you cannot do 360, but you can do symmetric wedges on each side of the cell
From the Zen of Python: "explicit is better than implicit". I have a very strong aversion to inferring the stop angle from the start angle, the step angle, and the number image frames. I think the stop angle should be specified.
extend the
config.imageseries.ImageSeriesConfig
class to allow either ints or list of ints foromega:start
,omega:stop
, andomega:step
. Lists should be all the same length, and will be zipped together to provide a list of ranges:Also, add a property that returns a list (or np array?) of omega values.
@joelvbernier, in what form are the disconnected omega ranges consumed by the library? Does it need a list of ranges, or a list of discrete omega values?
The text was updated successfully, but these errors were encountered: