This release is on [pypi.org/project/pyabf](https://pypi.org/project/pyabf/)
pip install --upgrade pyabf
**Need to roll back?** If the switch from pyABF 2.0 to 2.1 caused a problem for your code base, you can revert to the final version of pyABF 2.0 version using: pip install --force-reinstall pyabf==2.0.35
Major Changes
* setSweep() now supports baseline subtraction as an argument. `abf.setSweep(5, baseline=[1.5, 2.5])` will load the 6th sweep (sweep numbers start at zero) baseline-subtracted between 1.5 and 2.5 seconds. The quickstart guide was updated to reflect this.
* Formatted header text can be accessed from ABF class with `abf.headerMarkdown` and `abf.headerHTML` (which compliment `abf.headerText` and `abf.headerLaunch()`). Note that `abf.getInfoPage()` was removed entirely.
Minor/Internal Changes
* sweep.py was removed. Some methods were deleted (sweepArea(), sweepAvg(), sweepBaseline(), sweepMax(), sweepMin(), and sweepStdev()). Important ones (setSweep(), sweepC, and sweepD) are now integrated into abf.py.
* text module (which generates markdown and HTML files) moved to tools folder
* unused modules from 2.0 added to tools folder (AP detection, membrane test calculations, waveform generation)