Module featuring RangeCollection
object class for the management of range data and optimized performance of various simple and complex range operations, including range and point overlays, equitable and score-based separation of overlapping ranges, generation of random range data, and range data comparisons among others.
- Add
round
method to theRangeCollection
class for rounding to a select number of decimals and with a specified rounding factor. - Change
are_consecutive
when_one
behavior to return a 1d array of thewhen_one
value instead of the value itself. - Switch
RangeCollection
initialization to use default tocopy=None
to address necessary copy error withnumpy==2.x
. Also includes a fallback fornumpy==1.x
errors with optional copy behavior.
- Improved performance of
intersecting
method by implementing new_ArrayLogicManager
utility class to minimize superfluous array logic computations. Simplified logic flow for instances where one of the intersecting ranges hasclosed='neither'
. Removed outdatedintersecting_old
method which was being retained for legacy applications. - Improved performance of new
union
method. - Various minor feature additions
- Various bug fixes, performance improvements
- Modified
intersecting
method to consider both collectionclosed
parameter and input rangesclosed
parameter. Now, theclosed
parameter in the method refers to the edges of the input ranges, not as a call-time modifier to the class instance'sclosed
parameter. Instead, if needed, this should be done prior to the intersection method call with theset_closed
method. - Removed unused
get_...
methods based on theis_...
methods for automatic selecting to clean namespace. - Change
RangeCollection
default sort value toFalse
. - Added
closed
parameter visualization toplot
method onRangeCollection
class. - Various minor feature additions
- Various bug fixes, performance improvements
- Added balance option to
from_steps
method - Various minor feature additions
- Various bug fixes, performance improvements
- Added snapping to
set_centers
and__init__
methods - Added
squeeze
parameter tointersecting
method - Various bug fixes, performance improvements
- Initial updated merging features
- Various bug fixes, performance improvements
- Various bug fixes, performance improvements
- Initial release