Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

LaTeX representation for Brian objects / ipython notebook integration #28

Merged
merged 18 commits into from May 28, 2013

Conversation

Projects
None yet
2 participants
Owner

mstimberg commented Mar 29, 2013

Add a LaTeX representation to core brian objects (in particular units and equations) that works nicely with the ipython notebook.

  • LaTeX for equations
  • LaTeX for units (e.g. $\omega$ for ohm)
  • LaTeX for scales (e.g. $\mu$ for u)
  • LaTeX for explicit state updater descriptions
  • LaTeX for NeuronGroup/Synapses
  • anything else?

@ghost ghost assigned mstimberg Mar 29, 2013

Owner

mstimberg commented May 28, 2013

I think this is ready to merge for now, it's certainly not perfect but it has support for units, equations and NeuronGroup in the ipython notebook (it also adds simple repr methods to most objects). Since these changes are also useful for testing, I'd say it's better to merge it now and not keep it in a parallel branch for a long time.

Owner

thesamovar commented May 28, 2013

It seems now to be failing on Python 3.2 and 3.3 (whereas before it was just 3.3 I think). Is it the same magic issue? If so, I'll go ahead and merge and we can deal with it later.

Owner

mstimberg commented May 28, 2013

It seems now to be failing on Python 3.2 and 3.3 (whereas before it was just 3.3 I think). Is it the same magic issue?

Ah, sorry. No it's not the same issue, but it's the same issue I had in the sphinx_improvements branch where I therefore removed the 3.2 testing: The problem is that sphinx 1.2 no longer supports Python 3.2 whereas the previous version not yet supports Python 3.3 -- for testing we would therefore have to change the sphinx version depending on the Python version or just stop testing for 3.2 (for now at least).

Owner

thesamovar commented May 28, 2013

OK, but it's unrelated to the code so I'll go ahead and merge.

thesamovar added a commit that referenced this pull request May 28, 2013

Merge pull request #28 from brian-team/notebook_integration
LaTeX representation for Brian objects / ipython notebook integration

@thesamovar thesamovar merged commit 8478045 into master May 28, 2013

1 check failed

default The Travis CI build failed
Details

@thesamovar thesamovar deleted the notebook_integration branch May 28, 2013

Owner

mstimberg commented May 28, 2013

Ok. I disabled Python 3.2 testing in master for now -- I don't want to regularly adapt version information for special cases like this, so let's only track the most recent sphinx/Python3 version for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment