buzsakilab / buzcode

Code for internal lab sharing - polishing has started but is by no means complete
http://www.buzsakilab.com/
GNU General Public License v3.0
118 stars 128 forks source link

A few new functions, some updates #279

Closed dlevenstein closed 5 years ago

dlevenstein commented 5 years ago

New f'ns: -bz_ConcatenateBehavior - if you have a basePath with multiple recording sessions that you've concatenated with bz_ConcatenateDat, this function will concatenate any behavior.mat files in the subfolders and align the timestamps using MergePoints -bz_NormToRange - re-scales data to a different min/max range -bz_ScaleBar - puts a scale bar on your plot instead of x axis ticks

Changes -bz_PowerSpectrumSlope saving/redetection -Restrict bug fix with single input -bz_MultiLFPPlot can now put spikes below the LFP

dlevenstein commented 5 years ago

Let me know if you have any problems, if no one says anything soon I'll merge.

brendonw1 commented 5 years ago

I see nothing wrong

AntonioFR8 commented 5 years ago

Thanks Dan, this seems very helpful.

On Mon, Jan 14, 2019 at 6:02 PM Dan Levenstein notifications@github.com wrote:

New f'ns: -bz_ConcatenateBehavior - if you have a basePath with multiple recording sessions that you've concatenated with bz_ConcatenateDat, this function will concatenate any behavior.mat files in the subfolders and align the timestamps using MergePoints -bz_NormToRange - re-scales data to a different min/max range -bz_ScaleBar - puts a scale bar on your plot instead of x axis ticks

Changes -bz_PowerSpectrumSlope saving/redetection -Restrict bug fix with single input -bz_MultiLFPPlot can now put spikes below the LFP

You can view, comment on, or merge this pull request online at:

https://github.com/buzsakilab/buzcode/pull/279 Commit Summary

  • emg update
  • defaults for channel numbers
  • updated handling of touch vs EMG
  • Added function bz_ScaleBar
  • Stuffs
  • Restrict conversts to double
  • slightly smaller LFP view range
  • added function bz_ConcatenateBehavior

File Changes

Patch Links:

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/buzsakilab/buzcode/pull/279, or mute the thread https://github.com/notifications/unsubscribe-auth/AM8oQ_5by9554lb7t3w6ojoKA-Sdp9pZks5vDQyQgaJpZM4Z_6ny .

-- Antonio Fernandez-Ruiz, PhD Sir Henry Wellcome Post-doctoral fellow Buzsaki Lab. NYU Neuroscience Institute New York University, Langone Medical Center East River Science Park, 450 East 29th Street, 9th Floor New York, NY 10016