Re: [sympy] adding physics modules to SymPy

2013-04-24 Thread Stefan Krastanov
@Marsci, if you have a firm grasp on what Harold had started feel free to proceed from where he has stopped. Whether your application will be accepted for GSoC really depends on the amount of work that is suggested and the details and quality of the application. Feel free to also look at our ideas

Re: [sympy] adding physics modules to SymPy

2013-04-23 Thread F. B.
Hi there! There are two books about applications of Geometric Algebra to Physics (Clifford Algebra to Geometric Calculus by Hestenes and Sobczyk and Geometric Algebra for Physicists by Doran and Lasenby). An optimal implementation of Physics would implement a Geometric Algebraic structure

Re: [sympy] adding physics modules to SymPy

2013-04-23 Thread Amit Jamadagni
Can the tensor implimentation related to covariant and contravariant co ordinate systems and moving through different co ordinate systems be helpful.I mean to say could covariant and contravariant transforms form the basis for tensor module.Thanks. On Wed, Apr 24, 2013 at 12:17 AM, F. B.

Re: [sympy] adding physics modules to SymPy

2013-04-23 Thread F. B.
I started working on such an implementation yesterday. It has already an index-contraction system. Give me some days to finish it, then I'll post it. This part is not only helpful, it is ESSENTIAL to all modern physics! On Tuesday, April 23, 2013 8:52:40 PM UTC+2, Amit wrote: Can the tensor

Re: [sympy] adding physics modules to SymPy

2013-04-23 Thread Amit Jamadagni
Sir , I would like to work on it as a project this summer (GSoC) with additional features.I would also like to add the basis conception using determinants.I was moving from different topics and have fixed my self onto this and have started writing a proposal.I guess I satisfy the requirements and

Re: [sympy] adding physics modules to SymPy

2013-04-23 Thread Stefan Krastanov
These covariant and contravariant co ordinate systems moving through different co ordinate systems index-contraction system can mean a lot of different things in the context of a CAS. Some of them are already implemented in sympy or numpy. For instance: 1. naive index contraction: - naive

Re: [sympy] adding physics modules to SymPy

2013-04-23 Thread Amit Jamadagni
So would these mean starting afresh or just adding more to the present system. And my idea is the matrix transforms method between various co ordinate systems which would be applied to covariant and contravariant co ordinates.I have been working on this stream of ideas and would also like to add

Re: [sympy] adding physics modules to SymPy

2013-04-23 Thread Stefan Krastanov
Frankly, I think that there is a very urgent need to implement a working tensor module enabling the usage of the Einstein summation convention. I had a look at sympy.tensor, but it looks like that module is still far away from working (unless I didn't figure out correctly how it works).

Re: [sympy] adding physics modules to SymPy

2013-04-23 Thread Stefan Krastanov
So would these mean starting afresh or just adding more to the present system. And my idea is the matrix transforms method between various co ordinate systems which would be applied to covariant and contravariant co ordinates. This seems very well suited to be an extension to `diffgeom`.

Re: [sympy] adding physics modules to SymPy

2013-04-23 Thread Amit Jamadagni
So can I get some insight on how to proceed because this was the thing I have been mentioning but could not find sufficient enough material and was clubbing with some diffused ideas to make a project out of it. It would be great if GSoC were a platform but it was not the case also I would like to

Re: [sympy] adding physics modules to SymPy

2013-04-23 Thread Stefan Krastanov
For the case of `diffgeom` you can see the proposal which started it last year and my reports on it: https://github.com/sympy/sympy/wiki/GSoC-2012-Application-Stefan-Krastanov:-Vector-Analysis http://blog.krastanov.org/diff-geometry-in-python/ This is not the only way to proceed, but it is one

Re: [sympy] adding physics modules to SymPy

2013-04-23 Thread Amit Jamadagni
Is everything what you have mentioned implemented ?? I was thinking on these lines : Given a system we have a matrix to compute the contravaraint co ordinates wrt to the original basis (The given basis). In covariant coordinates the basis itself have a different representation but this would

Re: [sympy] adding physics modules to SymPy

2013-04-23 Thread Stefan Krastanov
Some notes: - what you said about polynomials concerns vector spaces, not manifolds - what you said about coordinate systems (as opposed to bases) concerns manifolds and it is well within the scope of `diffgeom` `diffgeom` has some rudimentary support for 2D and 3D flat space. It would be

Re: [sympy] adding physics modules to SymPy

2013-04-23 Thread Amit Jamadagni
I was thinking on the lines of connecting these co ordinates with bases (manifold intersection bases). I guess I was able to convey my ideas across.I would like to work on this. Yes I was referring to vector spaces and does such a implementation exist ?? Thanks. On Wed, Apr 24, 2013 at 2:03 AM,

Re: [sympy] adding physics modules to SymPy

2013-04-23 Thread Amit Jamadagni
http://blog.krastanov.org/category/sympy-2/gsoc-diffgeom/ I was going through this and it would of really some great help in making a proposal if some light is thrown on what has been implemented so far.Thanks. On Wed, Apr 24, 2013 at 2:44 AM, Amit Jamadagni bitsjamada...@gmail.comwrote: I

Re: [sympy] adding physics modules to SymPy

2013-04-23 Thread F. B.
OK, well my intention for now is to allow using physical formulae involving tensors inside SymPy. I do not know enough maths to work on the diffgeom module. I think I will go on with my multilinear-indexed map. It's fixed on a basis, it works just likes matrices in many dimensions. I started

Re: [sympy] adding physics modules to SymPy

2013-04-23 Thread Stefan Krastanov
All that is on the blog is implemented. Some parts of the original proposal (the github wikipage) are not yet implemented. It is all in the diffgeom folder in sympy (just clone the git repo from github). Look at the code in rn.py (it is quite simple and it is not necessary to understand the rest

Re: [sympy] adding physics modules to SymPy

2013-04-23 Thread Stefan Krastanov
On 23 April 2013 23:42, F. B. franz.bona...@gmail.com wrote: OK, well my intention for now is to allow using physical formulae involving tensors inside SymPy. Such helper function could be very useful, but it would be easier to discuss them when they get into a pull request. I do not know

Re: [sympy] adding physics modules to SymPy

2013-04-23 Thread Amit Jamadagni
I have scanned through the code and this image has given me a cleaner picture. http://krastanov.files.wordpress.com/2012/08/painful_christoffel_symbols.png Now if I am not wrong there is still a need for the implementation of implementation of covariance as the contravariance (as I understand) is

Re: [sympy] adding physics modules to SymPy

2013-04-23 Thread Marsci
I have been reading what Harold E. has to say about units, from what I have gotten out of the reading it seems like very interesting and important work. I would be very glad to contribute to that. What would you suggest I do as the proposal to for the GSoC? Also I am familiar with

[sympy] adding physics modules to SymPy

2013-04-22 Thread Marsci
Hello, I would really enjoy to contributing to this project, especially to the physics module, unfortunately I have no idea what else I can add to the physics module. It appears as all the work to be done is solely on quantum mechanics and since I am a first year in university I do not have a

Re: [sympy] adding physics modules to SymPy

2013-04-22 Thread Aaron Meurer
There has been discussion on adding modules for other areas of physics, such as electromagnetism. I suppose the other big area that is missing is relativity. These all really require a graduate level of understanding in physics to work with, though. I'm not sure if there is much a first year