Changelog¶
v0.2.0¶
This version includes breaking change. The align method was renamed to apply and the realign method was renamed as apply.
Please update your codebase to reflect this!
- Remove removed the
quick_shiftsparameter as it was not really used and theonly_shiftparameter does the job instead - Change the
alignmethod was renamed toapply - Change the
realignmethod was renamed toalign - New added
computemethod which makes it possible to simply calculate the correction factors for signal that was not provided in thearrayattribute - Change the
arrayinitialization value can now beNoneand it's assumed that you plan on using thecomputemethod - New added
_alignand_shiftmethods that perform the correction methods. These can be handy if you are using thecomputemethod - Change all optional parameters are now properties with appropriate data validators
v0.1.10¶
- New exposed few parameters to the
runandalignfunctions, so you can update the init parameters
v0.1.9¶
- New exposed the post-alignment shift values (which might differ from
shift_optif thequick_alignoption is used) - Improvement tidied up code
v0.1.8¶
- Change Split the
runcommand of theAlignerclass torun(which computes the shift) andalignwhich shifts the input array to the new position.
v0.1.7¶
- New Changed the structure of the package to be more Object-oriented. Alignment is now wrapped in its own class
Alignerwhich can be directly imported or used like before usingfrom msalign import msalign - New Added new
shiftfunction which simply shifts signals without interpolation - can be a lot faster but less accurate. Can be accessed by using keyword parameterquick_shift=Trueor by calling theshift()function - Improvement Cleaned-up code and renamed some poorly named variables
- Change Remove support from Python 2.7, 3.4, 3.5
v0.1.3¶
- New added new keyword parameter
align_by_indexwhich when set toTruewill convert the values ofpeaksto index based on the inputxvalsarray. This is introduced as I've noticed that sometimes when aligning to float values the alignment is not optimal - Improvement added more tests to the
testssuite
v0.1.0¶
- Fix #5 small bug that prevented correct alignment of the MS example
- New added new keyword parameter 'return_shifts' which when set to True will return the aligned data and the vector containing shift parameters