Open michaelleerilee opened 1 year ago
Setting the resolution to a non-negative value overrides the multi_resolution flag. The solution is to set the resolution to -1, which tells the function to adapt its output to the resolutions of the input data.
This should be clarified in the documentation.
pystare.expand_intervals(intervals, resolution, multi_resolution=True ) expands all intervals to sids of resolution, not respecting the resolution of the interval.