baccuslab / pyret

Python tools for analysis of neurophysiology data
https://pyret.readthedocs.io/en/master/
MIT License
35 stars 8 forks source link

Adds option to all visualizations which display spatial filters to #95

Closed bnaecker closed 6 years ago

bnaecker commented 6 years ago

accept a dx keyword argument. This gives the spatial scale of a single pixel in the passed linear filter, which is used to set the axis extent accordingly. This allows users to see spatial filters in actual spatial units. The parameter defaults to 1.0 (plot in pixel coordinates), so the behavior for older code is the same.

codecov-io commented 6 years ago

Codecov Report

Merging #95 into master will decrease coverage by 0.68%. The diff coverage is 89.18%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #95      +/-   ##
==========================================
- Coverage   96.04%   95.35%   -0.69%     
==========================================
  Files           8        8              
  Lines         556      560       +4     
==========================================
  Hits          534      534              
- Misses         22       26       +4
Impacted Files Coverage Δ
pyret/metadata.py 100% <100%> (ø) :arrow_up:
pyret/visualizations.py 92.94% <88.88%> (-2.24%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update f16f9ff...70e4c9e. Read the comment docs.

nirum commented 6 years ago

Also let's bump the version to 0.5.7, since the API has changed a bit.