Profile

Cover photo
Brian Granger
344 followers|16,952 views
AboutPostsPhotosYouTube

Stream

Brian Granger

Shared publicly  - 
 
#hangoutsonairFernando Perez, Paul Ivanov, Jonathan Frederic, Kyle Kelley, and Thomas Kluyver
IPython Dev Meeting 10/10/2013
Brian Granger and 5 others participated
1
1
John F. Burkhart's profile photo
Add a comment...

Brian Granger

Shared publicly  - 
 
+Sean Vig has been working on the quantum angular momentum module of sympy since his Google Summer of Code project in 2011. He has done a spectacular job and sympy.physics.quantum.spin can now do some mind blowing things. The test suite for this module alone is over 3500 LOC. Angular momentum coupling, rotation operators, Wigner symbols, just about anything you could ever imagine wanting! I don't know of any other software out there that does all of these things. Hats off to Sean. For fun, here is a screen shot of an IPython notebook with a few of the latest tests.
11
2
Brian Granger's profile photoNelson Brown's profile photo
2 comments
 
Yep, all you do is start up the notebook and then run the command:

%load_ext sympyprinting

From then on all SymPy formulas will show up and MathJax'd LaTeX.
Add a comment...

Brian Granger

Shared publicly  - 
 
More fun on the IPython notebook front. The notebook now has Heading cells (levels 1-6) and Plaintext cells (for reST, LaTeX, etc.). To go along with these new cell types, we have also implemented a thin horizontal toolbar right below the menu bar that has commonly used actions.

Warning: we have incremented the notebook version to v3. The new v3 notebooks are backwards incompatible with the pre-yesterday v2 notebook. This means if you start using the guthub master, the notebooks you create can't be opened by older versions of the notebook.
9
1
Anthony Oliver's profile photoMatthew Summers's profile photoFernando Perez's profile photomassimo di stefano's profile photo
6 comments
 
Glad you like it. I agree that for presentations is works really well. That is a usage case we would like to improve even more though...stay tuned.
Add a comment...

Brian Granger

Shared publicly  - 
 
In the IPython notebook, we use the CodeMirror (http://codemirror.net/) Javascript editor. CodeMirror is fantastic: it is lightweight, fast and allows many small editors to be placed on a single page. This is critical because a large notebook can have many cells that are being moved around, editing, hidden/shown, etc.

At the same time, Ace (http://ace.ajax.org/) is probably a better options for serious development. It is now being used by github for inline editing of code in repositories. On the downside, Ace is much bigger and only allows one editor on a page.

In the IPython notebook, we want the best of both worlds. To accomplish this we have implemented a new "Edit in Ace" functionality that lets you edit a single cell at a time using Ace. As the screen shot below shows, this mode gives you a nice clean UI for editing a large block of code. Currently we don't allow the Ace editor to be configured, but we plan on adding that in the future.
5
2
Brian Granger's profile photoPeter Kroon's profile photoOndřej Čertík's profile photoDamián Avila's profile photo
9 comments
 
Looks like this feature has been removed from the 0.1 dev. or am i not seeing it.
Add a comment...

Brian Granger

Shared publicly  - 
1
Add a comment...
In his circles
149 people
Have him in circles
344 people
Almar Klein's profile photo
Sylvain Soliman's profile photo
Scott Sinclair's profile photo
Shelly Granger's profile photo
Dave Hirschfeld's profile photo
Keith Smeltz's profile photo

Brian Granger

Shared publicly  - 
 
At the PyData conference at Google today.
3
Add a comment...

Brian Granger

Shared publicly  - 
 
Make your Python objects pretty! IPython has a powerful display protocol that allows your Python objects to declare different representations (html, javascript, png, jpeg, latex, etc.). The IPython notebook knows how to display those representations giving you the ability to create notebooks with rich views of your objects. To do this, just give your classes "_repr_<format>_" methods (<format>=html,javascript,etc) and it will instantly work. Here is a screenshot of an HTML representation of the pandas.DataFrame object.
16
10
Brian Granger's profile photoChris Kees's profile photoOndřej Čertík's profile photoJose Unpingco's profile photo
7 comments
 
Ahh, these changes have not been merged into pandas master (still in review).
Add a comment...

Brian Granger

Shared publicly  - 
 
This design blog is filled with treasures like this. This particular film is a perfectly blended juxtaposition of natural beauty and human talent.

http://www.brandsixtysix.com/brand66new/way-back-home.html
3
1
Gökhan Sever's profile photoFernando Perez's profile photo
2 comments
 
Did you see this guy? Damien Walters 2010
Add a comment...

Brian Granger

Shared publicly  - 
 
Work on the IPython notebook continues. Lots of work underneath the hood to refactor and clean up code. We have updated to the recent version of CodeMirror, which fixes a number of bugs. A little while ago, we added an "Edit in Ace" capability. We got many questions about why we really needed to be using Ace. After looking at the issues carefully, we have decided to remove this feature and instead focus on improving the CodeMirror experience as much as possible. We have already fixed of the main complaints: block-level indent/dedent.

Next on the horizon: RST cells and heading cells...
4
Brian Granger's profile photoFernando Perez's profile photoStéfan van der Walt's profile photo
8 comments
 
Agreed, this is one for a bit of quality time with a whiteboard...
Add a comment...

Brian Granger

Shared publicly  - 
 
Next on the IPython notebook work: merging and splitting of cells. Often when working with larger sections of code, the need arises to split longer cells into a sequence of cells or merge smaller cells together. IPython now has three new options in the Edit menu to simplify these actions. "Split Cell" will split the currently selected cell into two cells using the current cursor position as the splitting point. "Merge Above" and "Merge Below" will merge the currently selected cell with the one above or below it, respectively. Here is a screen shot of the result of splitting a single cell into four smaller cells.
15
Add a comment...
People
In his circles
149 people
Have him in circles
344 people
Almar Klein's profile photo
Sylvain Soliman's profile photo
Scott Sinclair's profile photo
Shelly Granger's profile photo
Dave Hirschfeld's profile photo
Keith Smeltz's profile photo
Basic Information
Gender
Male
Other names
ellisonbg
Work
Occupation
Physics Professor, Programmer
Links
Contributor to