Currentscape

Latest version: v1.0.12

Safety actively analyzes 622867 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

0.1.1

-------------

Changes
~~~~~~~
- examples is not be treated as a module anymore (as it should). To use the examples, one should go to the example folder to run the scripts.
- Added line creation in get_colors_and hatches_lists, renamed it get_colors_hatches_lines_lists and used it in more places.

Added
~~~~~
- Example with a cell, script to record currents/ionic concentrations from it, and script to plot its currentscape.
- Test to run the new example, running the cell and plotting its currentscape.

Fixed
~~~~~
- Fixed legend for currentscape with no hatches
- Removed minor yticks. They were popping out when not using autoscale for ylim and ticks with log scale
- Dotted horizontal lines at tick level. They were not the right length when data with adaptable timesteps were given

Removed
~~~~~~~
- extract_currs module
- unused .gitreview file
- __init__.py file in examples. examples folder should not be treated as a module.

0.1.0

-------------

Changes
~~~~~~~
- use fill_between instead of imshow or barplot (more precise, less pixelised and consumes less memory)
- default extension for figure saving in config is now pdf (in order to not loose details)

Added
~~~~~
- new 'legacy_method' entry in config for currents and currentscape to access legacy imshow and barplots

0.0.12

--------------

Changes
~~~~~~~
- Turned some print statements into logging statements
- Refactored Main Protocol's run function in extract_currs
- Refactored output writing into a write_output function in extract_currs
- Turned os.path statements into pathlib.Path statements
- Refactored extract_currs/features/define_efeatures
- Turned string formatting into f-strings
- Refactored the loading of release_params into a function
- Moved bluepyopt, neuron and scipy dependencies as extras in setup.py
- Refactored currents.reorder_currents_and_names for better quality code
- Used np.asarray instead of np.array when possible
- Refactored color and pattern mapping into functions
- Renamed col_idxs into curr_idxs in several function arguments

Added
~~~~~
- Unit tests for all currentscape functions that do not use matplotlib
- Linting checks to the extract_currs module
- Test for the new write_output function
- Installation instructions in the README

Removed
~~~~~~~
- Unused logging.basicConfig
- Print statements
- extract_currs/YeoJohnson.py
- extract_currs/features/eFELFeatureExtra
- extract_currs/features/SingletonWeightObjective
- Non-necessary stuff from extract_currs/features/define_efeatures
- Score calculations during Main Protocol
- Non-necessary variables form extract_currs' create_protocols
- __init__ function in SweepProtocolCustom that was the same as the parent class

Fixed
~~~~~
- Tox
- Barplot shrinking when chunk size has to be resized

0.0.11

--------------

Changes
~~~~~~~
- Improved memory use by deleting large variables when they are not of use anymore.
- Improved memory use by using np.int8 in create_black_line function.
- Made sure that every data in Datasets are numpy arrays.

0.0.10

--------------

Changes
~~~~~~~
- Forced fixed timesteps in extract_currs, since currentscape expects data with fixed timesteps.

0.0.9

-------------

Added
~~~~~
- New SAHP stimulus for current extraction.

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.