MATFeb2013Material » History » Version 23
« Previous -
Version 23/27
(diff) -
Next » -
Current version
Luis Figueira, 2013-02-11 04:57 PM
MAT Software Carpentry Feb 2013 - Links¶
Material used in the workshop¶
- Introduction to Shell -- Tutorial script -- Crib sheet on Unix shell commands
- Introduction to Python -- Tutorial script -- Repository with code
- Audio in Python -- Repository with code
- Version control -- Introductory slides -- Tutorial script
- Data management -- Slides
- Testing -- Tutorial script
- What We Know -- Slides
Assessed Exercise¶
- Assessed Exercise -- Details
Other material from us¶
- We offer a number of one-page info sheets on topics related to this workshop
- There is an extended version of the unit testing example (without mistakes!) at http://www.youtube.com/watch?v=5kMU-2d3fqM
- This very site, code.soundsoftware.ac.uk, is a code hosting site for projects by UK-based audio and music researchers. If you're interested in audio and music, please do register and make use of it! Repository hosting uses Mercurial, and your projects can be public or private.
Links about the software in the workshop¶
- We used Python, SciPy, Matplotlib, Nose, scikits.audiolab, Mercurial, EasyMercurial
- The SciPy Superpack is a good way to get Python packages installed on OS/X
Topical links¶
Unix and shell¶
- Mac OS X man pages online
- Software Carpentry lessons
- ELE595 - Software Tools For Engineers -- Undergraduate module at QMUL. Weeks 5-10 covered Unix
- Unix tutorial @ University of Surrey
To use Unix commands on a Windows machine, you will need to install additional software (e.g. MinGW or Cygwin).
NB: Cygwin doesn't install nano, Python or Mercurial by default - they need to be selected in the setup.
The Windows command prompt and powershell provide similar facilities to the Unix shell, but with different commands and syntax! Of the two, the command prompt is very similar to the basic Unix tools we introduced, but Powershell is more powerful.
- Some Windows command prompt tutorials
- Official Microsoft Windows Powershell Owners Manual
If you own an android tablet or phone, then that is a Unix device. It doesn't come with a command prompt by default, but you can install one. NB: this may be dangerous for your device!
If you want to try a full Unix system, then VirtualBox can be used to create a "virtual machine" - a fake computer that runs inside your normal session. You can then install a Linux distribution on that virtual machine.
Python¶
Lots of code editors will do syntax highlighting for python.
- Spyder -- "Matlab-like" interface
- PyCharm -- cross-platform, 30 day free trial, ca. £25 for academic licence
- Lots more here
Version Control¶
On Windows, TortoiseHg provides an alternative interface to Mercurial - you can right-click files in Windows Explorer. It's more techy than EasyMercurial!