[Analysis] crop data to user-defined x range - v2
Created by: mdigiorgio
This is v2 of #142. Differences with respect to previous PR:
- Simplified time range computation by getting it from TRAPpy
- Added a method to compute the plot window instead of calculating it in
__parseTrace()
. Also, it avoids thewindow
attribute to haveNone
values, but rather sets the two plot bounds to the actual plot window. This provides a reference from where to get the range of values that represent the boundaries for the x time range.
close #142