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
roundmethod to theRangeCollectionclass for rounding to a select number of decimals and with a specified rounding factor. - Change
are_consecutivewhen_onebehavior to return a 1d array of thewhen_onevalue instead of the value itself. - Switch
RangeCollectioninitialization to use default tocopy=Noneto address necessary copy error withnumpy==2.x. Also includes a fallback fornumpy==1.xerrors with optional copy behavior.
- Improved performance of
intersectingmethod by implementing new_ArrayLogicManagerutility class to minimize superfluous array logic computations. Simplified logic flow for instances where one of the intersecting ranges hasclosed='neither'. Removed outdatedintersecting_oldmethod which was being retained for legacy applications. - Improved performance of new
unionmethod. - Various minor feature additions
- Various bug fixes, performance improvements
- Modified
intersectingmethod to consider both collectionclosedparameter and input rangesclosedparameter. Now, theclosedparameter in the method refers to the edges of the input ranges, not as a call-time modifier to the class instance'sclosedparameter. Instead, if needed, this should be done prior to the intersection method call with theset_closedmethod. - Removed unused
get_...methods based on theis_...methods for automatic selecting to clean namespace. - Change
RangeCollectiondefault sort value toFalse. - Added
closedparameter visualization toplotmethod onRangeCollectionclass. - Various minor feature additions
- Various bug fixes, performance improvements
- Added balance option to
from_stepsmethod - Various minor feature additions
- Various bug fixes, performance improvements
- Added snapping to
set_centersand__init__methods - Added
squeezeparameter tointersectingmethod - Various bug fixes, performance improvements
- Initial updated merging features
- Various bug fixes, performance improvements
- Various bug fixes, performance improvements
- Initial release