Code snipets I'll need
from scipy.io import loadmat
fl = loadmat('/path/to/matfile.mat')
# this produces a dictionary of your matfile.
# To see the structures:
fl.keys()
# To access data in the structure
fl['key']
# Description
import scipy.io as sio
behavfile = loadmat('./datafiles/Sessions_select_20190415_01_pA_15-20_binsof5.mat')
behavdata = behavfile['Sessions_select'];
nth_rat = 1;
https://help.github.com/en/articles/adding-a-new-ssh-key-to-your-github-account
https://stackoverflow.com/questions/19595067/git-add-commit-and-push-commands-in-one?noredirect=1&lq=1
to create:
git config --global alias.add-com-push '!git add . && git commit -a -m "commit" && git push'
(base) mike@home:~/Brainhack2019/Mike_repo$ git config --get-regexp alias
alias.addcom !git add -A && git commit -m
to change:
git config --global alias.addcom '!git add -u && git commit -a -m "commit"'
git config --global alias.addcom '!git add -u && git commit -a -m'
to delete alias:
(base) mike@home:~/Brainhack2019/Mike_repo$ git config --global --unset alias.st
(base) mike@home:~/Brainhack2019/Mike_repo$ git rm -r --cached datafiles/
git tag -a v1.0 -m "my version 1.0" # create tag
git tag # list tag(s)
git show v1.0 # see details
git push origin v1.0 # release the kra... repo
# Description
newObj = some_comand(someObj);