Using Python and Fabric for analyzing UC San Diego brain ......2017/03/07  · Over 250 burritos...

19
Using Python and Fabric for analyzing brain signals on OSG connect Scott Cole Neurosciences Graduate Program UC San Diego

Transcript of Using Python and Fabric for analyzing UC San Diego brain ......2017/03/07  · Over 250 burritos...

Page 1: Using Python and Fabric for analyzing UC San Diego brain ......2017/03/07  · Over 250 burritos were rated across San Diego (for more information, go to . For this map, the 10 burrito

Using Python and Fabric for analyzing brain signals on OSG connect

Scott ColeNeurosciences Graduate Program

UC San Diego

Page 2: Using Python and Fabric for analyzing UC San Diego brain ......2017/03/07  · Over 250 burritos were rated across San Diego (for more information, go to . For this map, the 10 burrito

Outline● Brain rhythms

● Running python on OSG

Page 3: Using Python and Fabric for analyzing UC San Diego brain ......2017/03/07  · Over 250 burritos were rated across San Diego (for more information, go to . For this map, the 10 burrito

Large-scale brain recordings

● Healthy humans● Patients● Animals

● Sampling: 500-30000 Hz● Duration: 1 hour - 1 week● Channels: 1 - 250+● Several GB per subject

Page 4: Using Python and Fabric for analyzing UC San Diego brain ......2017/03/07  · Over 250 burritos were rated across San Diego (for more information, go to . For this map, the 10 burrito

Neural oscillations (a.k.a. Brain rhythms)

Page 5: Using Python and Fabric for analyzing UC San Diego brain ......2017/03/07  · Over 250 burritos were rated across San Diego (for more information, go to . For this map, the 10 burrito

Fourier Transform-based analysis

Page 6: Using Python and Fabric for analyzing UC San Diego brain ......2017/03/07  · Over 250 burritos were rated across San Diego (for more information, go to . For this map, the 10 burrito

Fourier Transform-based analysis

Page 7: Using Python and Fabric for analyzing UC San Diego brain ......2017/03/07  · Over 250 burritos were rated across San Diego (for more information, go to . For this map, the 10 burrito

Custom analysis in Python

Page 8: Using Python and Fabric for analyzing UC San Diego brain ......2017/03/07  · Over 250 burritos were rated across San Diego (for more information, go to . For this map, the 10 burrito
Page 9: Using Python and Fabric for analyzing UC San Diego brain ......2017/03/07  · Over 250 burritos were rated across San Diego (for more information, go to . For this map, the 10 burrito

1. Clone tutorial (.py, .sh, & .submit) from GitHub

Page 10: Using Python and Fabric for analyzing UC San Diego brain ......2017/03/07  · Over 250 burritos were rated across San Diego (for more information, go to . For this map, the 10 burrito

2. Create python virtual environment

Page 11: Using Python and Fabric for analyzing UC San Diego brain ......2017/03/07  · Over 250 burritos were rated across San Diego (for more information, go to . For this map, the 10 burrito

3. Transfer input data to Stash

Page 12: Using Python and Fabric for analyzing UC San Diego brain ......2017/03/07  · Over 250 burritos were rated across San Diego (for more information, go to . For this map, the 10 burrito

4. Compress personal libraries

Page 13: Using Python and Fabric for analyzing UC San Diego brain ......2017/03/07  · Over 250 burritos were rated across San Diego (for more information, go to . For this map, the 10 burrito

5. Submit job

Page 14: Using Python and Fabric for analyzing UC San Diego brain ......2017/03/07  · Over 250 burritos were rated across San Diego (for more information, go to . For this map, the 10 burrito

6. Transfer output and plot results

Page 15: Using Python and Fabric for analyzing UC San Diego brain ......2017/03/07  · Over 250 burritos were rated across San Diego (for more information, go to . For this map, the 10 burrito

Steps 1-6 with Fabric

NOTE:Not Python 3 compatible

1. Prepare files (clone repo)2. Create virtual environment3. Transfer input data4. Prepare (compress) local libraries5. Submit job6. Transfer output data

Page 16: Using Python and Fabric for analyzing UC San Diego brain ......2017/03/07  · Over 250 burritos were rated across San Diego (for more information, go to . For this map, the 10 burrito

Summary

Page 18: Using Python and Fabric for analyzing UC San Diego brain ......2017/03/07  · Over 250 burritos were rated across San Diego (for more information, go to . For this map, the 10 burrito
Page 19: Using Python and Fabric for analyzing UC San Diego brain ......2017/03/07  · Over 250 burritos were rated across San Diego (for more information, go to . For this map, the 10 burrito

Thank you

[email protected]