About Ariel Rokem
I am a postdoctoral fellow at Stanford University, using MRI to study the human visual system. I received my PhD in neuroscience from UC Berkeley in 2010. Born and raised in West Jerusalem, Israel, I...
View ArticleRound 2.1 – explaining ‘assert’
The python ‘assert’ statement can be used to verify that something is true. More accurately, that some python expression evaluates to “True”. This is a good practice, because it allows you to “fail...
View ArticleRound 2.3: fitting non-linear functions to psychophysical data
Not quite what we were supposed to do: I started out trying and then before I knew what happened, there it was. I was never very good at following instructions.
View ArticleRound 2.4 – multiple choice questions
Here are a couple of questions about basic numpy/python programming. 1. You have a 3d numpy array: In[1]: my_data.shape Out[1]: (10, 10, 10) If you want to extract a 2d array with only the 5th element...
View ArticleRound 2.5 Summary
1. I think that the main take-home for me was a very simple meta-lesson of the entire exercise: as in so many other things, developing a systematic reflective practice can also boost your teaching....
View Article