GSOC - Improving SymPyGamma

172 views
Skip to first unread message

SAHIL SHEKHAWAT

unread,
Mar 1, 2014, 12:18:47 AM3/1/14
to sy...@googlegroups.com
I have been working with sympygamma from last 2-3 months and would like to improve it. But there are about three big issues which alone don't make up to a summer's work but together they will improve sympy-gamma to a great extent.
Plotting is a main issue as D3.js which don't support 3-D plots and it also lacks interactivity also unfortunately matplotlib only has experimental support in appengine which does not support Rasterisation, so instead of that can we include matplotlib also as a submodule?? or as a workaround we need to include that experimental matplotlib support with javascript that fills the interactivity issue which will give user the  ability to change the parametes ,zoom, download as image or text.
Natural language queries is also of very prime importance, i know there is a separate project on parsing but i think that natural language queries feature will be different for Gamma and should be done separately. For this i can include TAGS in documentation and search the documentation for most related output. this way even if the input is not clear it can show some results which he can filter further by next thing i will include.
Improving the Result-Sets should be done because the result produced by gamma are limited to an extent (for example: gamma always show series expansion around 0 which can be None whereas series expansion around 'e' and '1/e' can be of importance). I am already working on downloading complete Result set as IPython notebook, see "https://github.com/sympy/sympy_gamma/pull/32". i will also imporve the cards by making the input of each card editable. 
The list of such small improvements is endless which together will make sympy gamma awesome.
Please suggest what you think?
Message has been deleted

SAHIL SHEKHAWAT

unread,
Mar 1, 2014, 4:35:27 AM3/1/14
to sy...@googlegroups.com
For Plotting i would also like to say that we i can even try to plot 3D  in d3.js itself 

David Li

unread,
Mar 1, 2014, 7:08:46 PM3/1/14
to sy...@googlegroups.com
The only way to use matplotlib on App Engine is through whatever Google provides. There isn't much documentation on what it's capable of, so you'd have to look into that.

For 3D plots I would suggest something using Three.js, like what Mathics has.

For natural language: I found QuePy, which seems very interesting if we can make it work on App Engine (it requires NLTK) and adapt it to our needs.

The documentation generated by Sphinx already includes an index, you'd just need to parse that index. (Tagging every part of SymPy's documentation seems like a bad idea.)

About the series: SymPy and Gamma are correct. Look at the documentation; SymPy's definition of a series differs from what you expect. http://docs.sympy.org/latest/modules/core.html?highlight=series#sympy.core.expr.Expr.series

Adding more results is always a nice improvement.

David

SAHIL SHEKHAWAT

unread,
Mar 1, 2014, 9:23:15 PM3/1/14
to sy...@googlegroups.com
About series, it is written in the documentation that sympy is only capable of generating sereis around 0 only, means thatit will always show term containing only x. That is something sympy needs development.
I didnt knew that it already have index, it cool now I can directly parse them.
Three.js seems like nice idea.
For natural language processing, I am going through it.
Thanks david,
Does it looks like a nice gsoc project? Does it have summer's worth of work?
Message has been deleted
Message has been deleted

SAHIL SHEKHAWAT

unread,
Mar 1, 2014, 11:32:31 PM3/1/14
to sy...@googlegroups.com
For animation i will be using GIF plugin for jquery see http://rubentd.com/gifplayer/..and i can create something which works just like the CDF plugin for browser of WOLFRAMAPLHA for the interactivity like changing the scale and parameters. Threee.js seems like really nice idea for 3-D plotting.
Natural Language Processing Quepy is good enough, it will parse the input and them search the databases of indexes from the Documentation to find the related outputs. Also, I will write codes which will separate expression and variables to be given as input for the expression.


On Saturday, March 1, 2014 10:48:47 AM UTC+5:30, SAHIL SHEKHAWAT wrote:

SAHIL SHEKHAWAT

unread,
Mar 1, 2014, 11:34:48 PM3/1/14
to sy...@googlegroups.com
sorry the link is actually http://rubentd.com/gifplayer/ and their github repo is at https://github.com/darthrubens/gifplayer it has MIT License so i guess it will not be a problem.

David Li

unread,
Mar 2, 2014, 9:42:24 AM3/2/14
to sy...@googlegroups.com
Why GIF? It 
  • uses a lot of bandwidth
  • is rather low-quality
  • would have to be generated server-side, or
  • if done client-side, is completely redundant vs. canvas, SVG, WebGL, or any of the other client-side technologies for animation/rendering.
What animations are you talking about?

D3 definitely supports interactivity - the current graph on Gamma is done with D3!

We don't want a plugin, either - nobody would install it and we don't need such plugins, the browser is more than capable of animation/rendering now.

David

SAHIL SHEKHAWAT

unread,
Mar 2, 2014, 10:05:33 AM3/2/14
to sy...@googlegroups.com
It is mentioned in the "IMPROVING PLOTTING MODULE" section of GSOC'14 ideas. 
Okay GIF should not be used...i am going through Three.js and we can add mouse actions which along with d3.js will be nice. I think animations will not be needed anymore then..
But the question is still there..can you please help me out that Do this project's outlines seems good enough for GSOC and should i go forward with it??..because i have just started improving it..so any help would be nice

Ondřej Čertík

unread,
Mar 4, 2014, 11:24:16 PM3/4/14
to sympy
Hi Sahil,

I think it is. Start writing it up on our wiki as Aaron just suggested
today (see his email) and ping us once you have something.
David Li is the expert here to consult.

Ondrej
> --
> You received this message because you are subscribed to the Google Groups
> "sympy" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sympy+un...@googlegroups.com.
> To post to this group, send email to sy...@googlegroups.com.
> Visit this group at http://groups.google.com/group/sympy.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sympy/2c8a3096-a7b5-4f1e-8f4a-bf11de5d2d44%40googlegroups.com.
>
> For more options, visit https://groups.google.com/groups/opt_out.

SAHIL SHEKHAWAT

unread,
Mar 4, 2014, 11:37:18 PM3/4/14
to sy...@googlegroups.com
Thanks David and Ondřej , i am starting writing my proposal...
thanks a lot

SAHIL SHEKHAWAT

unread,
Mar 16, 2014, 10:08:36 PM3/16/14
to sy...@googlegroups.com
I think my proposal i near to completion can you please have a look.

SAHIL SHEKHAWAT

unread,
Mar 16, 2014, 10:08:53 PM3/16/14
to sy...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages