Re: [sympy] Re: Who can mentor for GSoC?

2016-02-16 Thread Sean Vig
I can potentially mentor this year if there are any suitable projects for me. At the very least I can review proposals. I'll add my name to the wiki. Sean On Sat, Feb 13, 2016 at 4:58 AM, Sumith 1896 wrote: > Hi all, > > The projects list for SymEngine( > https://github.com/sympy/sympy/wiki/GSo

Re: [sympy] Bug in "sympy.physics.quantum.cg"

2015-08-19 Thread Sean Vig
Hi, Yes, that is a typo, if you'd like to submit a PR on github we'd be happy to merge it. Thanks for finding it. Sean On Wed, Aug 19, 2015 at 10:09 AM, wrote: > I found a wrong expression to indicate a variable in "Wigner6j.doit()". > > Original in Sympy version 0.7.6: > def doit(self, **

Re: [sympy] Improving the Quantum Computation module

2015-02-03 Thread Sean Vig
Code like this is used to do evaluation of quantum expressions, in this case, the commutator, see [1]. These are used, for example, to evaluate expressions or evaluate quantum operators applied to states. Sean [1] https://github.com/sympy/sympy/blob/master/sympy/physics/quantum/commutator.py#L175

Re: [sympy] Implement All Known Analytical Solutions to Quantum Mechanical Systems

2014-03-05 Thread Sean Vig
You should also look in the quantum module. You should be using the quantum module for new development. There are some quantum systems built with the quantum machinery in piab (particle in a box), sho1d (1D simple harmonic oscillator), and cartesian (position and momentum). Sean On Mar 4, 2014 1:4

Re: [sympy] Re: 2to3 script appears to be missing a conversion

2013-11-30 Thread Sean Vig
Yeah, you should be able to grep out the couple instances of iteritems, that must've slipped through the cracks of the test suite, it shouldn't be too hard to fix manually if you want to do that. Sean On Nov 30, 2013 5:46 PM, "Sergey B Kirpichev" wrote: > On Sat, Nov 30, 2013 at 03:37:48PM -0800

Re: [sympy] 2to3 script appears to be missing a conversion

2013-11-25 Thread Sean Vig
I have a PR to pull all version checking back into compatibility.py [1]. Personally, I don't think that it's a big deal to add a hard dependency to > the six module for sympy. I think this would be a bad decision. There are several things we have modified from six, such as the with_metaclass fun

Re: [sympy] 2to3 script appears to be missing a conversion

2013-11-24 Thread Sean Vig
> > Is there a reason why we aren't using six? > It's covering a lot more ground than what compatibility.py does for Python > 2/3 compatibility. > The gist of it is that while six covers a lot of ground, most of it is ground we don't need covered, and we also do some custom stuff we need [1]. Six

Re: [sympy] How to handle github email notifications

2013-09-04 Thread Sean Vig
>From account settings (icon top right) -> Notification Center, then uncheck the boxes under watching. On Wed, Sep 4, 2013 at 1:03 PM, Aaron Meurer wrote: > I believe github adds you to the cc or to field if you are @mentioned. > > Aaron Meurer > > On Sep 4, 2013, at 11:53 AM, "Ondřej Čertík"

Re: [sympy] Re: Test suite failure on print statement

2013-08-03 Thread Sean Vig
> > BTW, perhaps we should document this somewhere in the documentation (not > just in our wiki). Perhaps, something like CONTRIBUTING.md in the > ipython. Right now, there is nothing, except a few sentences in the > guide.rst. Relevant content is mostly here (a bit outdated, I think): > https:/

Re: [sympy] Support Python 2 and Python 3 in a single code base

2013-07-26 Thread Sean Vig
With that branch, you're installation method of choice, either "python3 setup.py" install or "python3 setupegg.py develop" should work and install isympy as isympy3, so as to not clobber the python 2 isympy. Alternatively, to test without installing, you can do the standard "python3 bin/isympy". S

Re: [sympy] Support Python 2 and Python 3 in a single code base

2013-07-25 Thread Sean Vig
Most of the things in compatibility aren't too annoying, things that moved or are renamed, but otherwise function exactly the same. One big annoyance was working with unicode strings and checking unicode string output. The u'string' syntax doesn't work in 3.2 (though it was re-introduced in 3.3),

Re: [sympy] Support Python 2 and Python 3 in a single code base

2013-07-25 Thread Sean Vig
For anyone that's interested, I have a WIP branch up [1] that has supports both Python 2 and 3 from a single codebase. All the tests and doctests are passing, but there are a couple things that still need to be worked out before it would be ready to go. Sean [1] https://github.com/sympy/sympy/pul

Re: [sympy] Re: Finding out if an expression is algebraic

2013-06-25 Thread Sean Vig
Manoj ended up implementing a `.is_algebraic_expr()` method to accomplish this task. It may be a good idea to replace the `is_algebraic()` method with `.is_algebraic_expr()`, since `is_algebraic()` only has doctests and is only used twice, one other time in sqrtdenest.py and once where it is import

Re: [sympy] Finding out if an expression is algebraic

2013-06-11 Thread Sean Vig
The heuristic is in a paper on the arxiv [1] (the second heuristic, on page 10). It may be that they just meant a quotient of polynomials, but I think it would work fine for anything that is algebraic, though I haven't tried anything that ends up being that complex. There is also an is_algebraic h

Re: [sympy] Status of Quantum Mechanics Module

2013-05-14 Thread Sean Vig
Hi Luke, Brian, the mentor for that project, commented on the status of the position/momentum stuff and the best way to approach that [1]. Basically, first, you'd need to understand what the current code does, what the PR is trying to accomplish, merge the branch with master, and get any broken te

Re: [sympy] [GSoC 2013] Symbolic Quantum Mechanics

2013-04-26 Thread Sean Vig
Nahuel, That's great that you're interested in working in the quantum module. 1) Position and momentum basis functions: > There has been a GSoC project on this 2 years ago, so you'd have to build off of that. The final pull request for that project still has to be polished up and merged [1], and

Re: [sympy] GSOC 2013

2013-04-11 Thread Sean Vig
Sorry for taking so long to comment on this. > quantum related group theory (SU(2) SU(3) groups) I'm not familiar off-hand with groups in angular momentum going beyond SU(2) and SO(3), if you could find something (I know it was mentioned in the original description of available angular momentum r

Re: [sympy] sympy-bot

2013-03-26 Thread Sean Vig
> > After I push my changes to brombo/sympy do I have to pull again for > sympy-bot to see them? > No, you don't, the sympy-bot will automatically merge the current master on github (sympy/sympy) with your branch on github (in this case brombo/sympy). The reference command keeps you from having to

Re: [sympy] sympy-bot

2013-03-26 Thread Sean Vig
Also, you can add the reference to a config file, "~/.sympy/sympy-bot.conf", by adding a line "reference = ~/path/to/sympy", saving you having type it out every time. Sean On Tue, Mar 26, 2013 at 2:41 PM, Aaron Meurer wrote: > All the switches have to come at the end of the command. > > You can

Re: [sympy] edits to the 2013 GSoC ideas page

2013-03-09 Thread Sean Vig
There is still a ton of possible angular momentum things that could be done. I can write up something that takes into account what I did for my project and possible things that could still be done. Sean On Mar 9, 2013 5:32 PM, "Stefan Krastanov" wrote: > I did some cleanup and a _lot_ of refacto

Re: [sympy] Regarding the use of qapply on rotation operator

2013-02-26 Thread Sean Vig
any ideas on this ?? Is this the way it to be done or any > other method ?? Thanks > > > On Sun, Feb 24, 2013 at 3:52 AM, Sean Vig wrote: > >> Amit, >> >> There is JzOp which does take a parameter, and Jz is JzOp("J"). The >> parameters for the Rotatio

Re: [sympy] Regarding the use of qapply on rotation operator

2013-02-23 Thread Sean Vig
Amit, There is JzOp which does take a parameter, and Jz is JzOp("J"). The parameters for the Rotation operator are the Euler angles that define the rotation. I'm not sure if you need to know anything about the angles or what parameters are used to modify qapply. You should be able to look at the R

Re: [sympy] setup.py develop ?

2012-12-01 Thread Sean Vig
On Sat, Dec 1, 2012 at 12:26 PM, Rathmann wrote: > Thanks. But that is what I tried? > > python setup.py develop > usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] >or: setup.py --help [cmd1 cmd2 ...] >or: setup.py --help-commands >or: setup.py cmd --help > > err

Re: [sympy] Help fixing GCI tasks

2012-11-07 Thread Sean Vig
On Wed, Nov 7, 2012 at 7:06 PM, Ondřej Čertík wrote: > We need to do this *now*. Would anyone have time to help? I am > defending my Ph.D. tomorrow, > and I got busy today. I will have time on Friday, but I am afraid that > would be too late. > > Ondrej > I can help with this later tonight. I'll

Re: [sympy] Re: Google Code-In

2012-11-02 Thread Sean Vig
I think the deadline is Monday. We still have to finish up/update the application [1]. Sean [1] https://github.com/sympy/sympy/wiki/GCI-2012-Organization-Application On Fri, Nov 2, 2012 at 4:52 PM, Stefan Krastanov wrote: > Today is the deadline, right? Is there anything to do, besides > regis

Re: [sympy] Re: Extending a GSOC 2012 project

2012-10-21 Thread Sean Vig
Hi Saurabh, If you are looking on extending a past GSoC project (after looking at the development workflow) you should take a look at the reports written by the past students [1]. Also, if you are looking at anything on the wiki for GSoC 2013, you should also be aware basically nothing has been d

Re: [sympy] Google Code In 2012

2012-09-24 Thread Sean Vig
On Mon, Sep 24, 2012 at 2:01 PM, Aaron Meurer wrote: > Hi everyone. > > Google has announced again that they are running Google Code In, and > has invited mentoring organizations to participate. For those of you > who did not help out last year, Google Code In is a contest run by > Google in the

Re: [sympy] sympy-bot problems

2012-09-13 Thread Sean Vig
Chris, Here is the fix: https://github.com/sympy/sympy-bot/pull/133 Sean On Thu, Sep 13, 2012 at 2:38 AM, smichr wrote: > I tried to run the most recent bot (Ubuntu 12.04, Py 2.7) and get: > > $ ../sympy-bot/sympy-bot list > Traceback (most recent call last): > File "../sympy-bot/sympy-bot"

Re: [sympy] Contributing to Physics module in sympy

2012-09-08 Thread Sean Vig
Hi Anirudh, That's great that you want to help. All of the documentation is in the Sphinx docs, which you can view either in the source files (the comments at the begginging of classes and methods), online [1] (which may be out of date) or you can build the Sphinx docs yourself [2]. There are also

Re: [sympy] Representing operators within commutators and expanding on some arbitrary func f.

2012-08-18 Thread Sean Vig
Guru, There is a DifferentialOperator class in physics/quantum/operator that you could probably use. There is still a pull open from last year's GSOC that finishes off the continuous basis stuff that implemented that operator [1]. That along with XOp in quantum/cartesian might do what you need. S

Re: [sympy] could sympy-patches be made to receive only the announcements of the new PRs (not the whole discussion)

2012-08-07 Thread Sean Vig
Github changed how they do notifications. Their blog post about it is here [1]. You can change your notification settings here [2]. I got an email yesterday from Github about the change, but not before getting hit with a ton of PR related emails. Sean [1] https://github.com/blog/1204-notification

Re: [sympy] All multi-indices of a certain order

2012-06-15 Thread Sean Vig
On Fri, Jun 15, 2012 at 2:47 AM, Chris Smith wrote: > >>> print filldedent(flatten([list(set(permutations(c))) for c in > combinations_w > ith_replacement(range(n),n) if sum(c) == n-1], 1)) > > [(0, 2, 0), (0, 0, 2), (2, 0, 0), (0, 1, 1), (1, 1, 0), (1, 0, 1)] > Ah, yeah, something like that wil

[sympy] All multi-indices of a certain order

2012-06-14 Thread Sean Vig
The thread on duplicated things finding there way into physics got me thinking about what could get replaced/moved, and I remembered one thing I did in implementing the angular momentum coupling/uncoupling algorithm that I figured should fall under something I'm not aware of. Basically, at one poin

Re: [sympy] Thoughts on how to avoid the black box problem

2012-06-14 Thread Sean Vig
As one of the people that reviews physics PR's, I'll admit despite our best efforts this can be a problem. There are certainly a couple obvious examples (Dagger [1], TensorProduct, HilbertSpace's) and likely a few more things that are less obvious. A few things I'll note related to this problem: -

Re: [sympy] git mishap

2012-05-18 Thread Sean Vig
My master was c2ee5b1 so I just pushed it and that's taken care of it. Sean On Fri, May 18, 2012 at 12:56 PM, Ronan Lamy wrote: > I think I just borked master on the main repo. I did a 'git push -f' > instead of 'git push -f github' and it "forced updated" (reverted, > actually) master from c2e

Re: [sympy] 64-bit polys test failure

2012-04-14 Thread Sean Vig
also seems to break things (although not coming from my new code). > > > On 14.04.2012 16:42, Sean Vig wrote: > >> There is currently a test failure for 64-bit Python 2 in master causing >> a test and doctest failure coming from the polys module. It always >> cho

[sympy] 64-bit polys test failure

2012-04-14 Thread Sean Vig
There is currently a test failure for 64-bit Python 2 in master causing a test and doctest failure coming from the polys module. It always chokes on sympy/polys/domains/domain.py L62 with the error "TypeError: gmpy.mpq() expects numeric or string argument". These tests pass just fine on 32-bit. I h

Re: [sympy] Re: beginner.precision failure when running ./setup.py test

2012-04-14 Thread Sean Vig
See https://github.com/sympy/sympy/pull/1234. How do I run the tests in the Testing Examples section then? You can run the examples with ./examples/all.py. It will give a summary of the passing/failing examples at the end. Sean -- You received this message because you are subscribed to the G

Re: [sympy] 64-bit test request

2012-04-12 Thread Sean Vig
I can run them. Sean On Fri, Apr 13, 2012 at 01:23, smichr wrote: > Is there anyone with a 64-bit system that would be willing to test > https://github.com/sympy/sympy/pull/1204 ? > > If so, thanks. There are some tests that could be bit-dependent and I > want to make sure they don't fail in 64

Re: [sympy] Test for function

2012-04-09 Thread Sean Vig
You can also get a set of all the the objects you want with .atoms(): In [1]: e = x + y + z + sin(x) In [2]: e.atoms(Function) Out[2]: set(sin(x)) In [3]: e = x + y + z + sin(x) + f(x) In [4]: e.atoms(Function) Out[4]: set(f(x), sin(x)) In [5]: e.atoms(sin) Out[5]: set(sin(x)) Sean On Mon, A

Re: [sympy] as_leading_term() methods

2012-04-08 Thread Sean Vig
As I understand it, as_leading_term is used for series expansion, where the dominant terms are those of lowest degree. Sean On Sun, Apr 8, 2012 at 23:00, sh72116 wrote: > Could someone explain to me what the as_leading_term method is supposed to > do? > I am very confused, because I had previou

Re: [sympy] Getting the bleeding edge ./setup.py develop doesn't work?

2012-04-05 Thread Sean Vig
Hi Ilya, The wiki is wrong. You should do './setupegg.py develop'. Sean On Thu, Apr 5, 2012 at 13:20, Ilya Schurov wrote: > It seems to be some inconsistency between the wiki page > > https://github.com/sympy/sympy/wiki/Getting-the-bleeding-edge > > and the real life. Particularly, it concerns

Re: [sympy] GSoC 2012: Quantum Module

2012-03-25 Thread Sean Vig
Hi, That's great to hear that you're interested in doing a project in the physics module. > >- Will it be enough for a project to inplement following analytical >solutions (in 1D, 2D and 3D)? > - Finite/infinite well > - Oscillator > - Coulombic field > > Determining ho

Re: [sympy] [GSOC 2012] Interested in Symbolic Quantum Computing

2012-03-18 Thread Sean Vig
Hi Guru, It's great to hear you're interested in working with SymPy. As a side note, I'm a 1st year physics grad student at the Urbana-Champaign campus. The hole in my quantum module knowledge is the quantum computation stuff. However, if you build yourself up from the Operator and State classes

Re: [sympy] Sympy.physics.Quantum: GSoC 2012

2012-03-13 Thread Sean Vig
Hi Rhythm, It is great that you're interested in doing a project in the quantum module. For the project you mentioned, there is definitely a summers worth of systems to be implemented, especially if there are systems which would require some new quantum machinery. To see what I mean by that, note

Re: [sympy] Re: Help with our GSoC application

2012-03-06 Thread Sean Vig
On Tue, Mar 6, 2012 at 15:05, prateek papriwal wrote: > it has been deleted .. check the history > https://github.com/sympy/sympy/wiki/_history Exactly this. The GSoC pages from the old wiki are up at: https://github.com/sympy/sympy/wiki/GSoC-2007-Report https://github.com/sympy/sympy/wiki/GSoC

Re: [sympy] sum() function

2012-03-06 Thread Sean Vig
If you are using ipython, you can use the introspection feature, for example 'sum?', which displays a bunch of information about the function or class, including the docstring. Extra details can be found using 'sum??'. As a side note, sum() is a built-in python function, and we do not override it.

Re: [sympy] Re: Help with our GSoC application

2012-03-06 Thread Sean Vig
Last night, I updated them and Aaron moved them so as to drop the 'old wiki' designation. They're currently all at https://github.com/sympy/sympy/wiki/GSoC-2007-Report and similarly for 08, 09 and 10. The links to them are on the front page of the wiki with the other GSoC material. Sean On Tue, M

Re: [sympy] Separate a fraction

2012-02-28 Thread Sean Vig
This is documented in the online docs [1] and in the docstring. If you're using ipython, you can use their introspection to check the docstring, for example, as '?Rational'. From the docstring: **Low-level** Access numerator and denominator as .p and .q: >>> r = Rational(3,4) >>> r 3/4 >>> r.p 3

Re: [sympy] GSOC 2012

2012-02-15 Thread Sean Vig
Hi, it's great to hear you're interested in a quantum project. I will note that implementing a position/momentum basis was the subject of a project last year, and I'm not sure what there might be left to implement with that, it should be updated in the wiki to reflect this. With this and the other

[sympy] Basic Boolean classes and the SingletonRegistry

2012-02-08 Thread Sean Vig
Hi, So in conjunction with a pull of mine to rework some of the Piecewise framework [1], I'm trying to implement classes to represent Booleans (True,False,None) that subclass Basic, as reported in this issue [2]. As suggested in the issue, I started with classes named like BooleanTrue (so as to no

Re: [sympy] GSoC application

2012-02-06 Thread Sean Vig
Stefan, Getting physics to utilize the tensor module sounds like a great idea. If you are looking for more things to flesh out a project, I know the spin module could be greatly improved with a well integrated tensor module, things like Wigner-Eckart theorem and irreducible spherical tensor operat

Re: [sympy] Re: Fixing Sphinx docs (finally!)

2012-02-03 Thread Sean Vig
It looks like it wasn't mentioned here, but Vladimir opened a pull request [1] and currently all the warnings are fixed. The only problem we've encountered is both Miha and myself, on Arch and Gentoo, respectively, have problems with the path of the mpmath plots, while Ubuntu builds just fine (see

Re: [sympy] Re: Fixing Sphinx docs (finally!)

2012-02-02 Thread Sean Vig
Vladimir, I can take a look at that and try to get that docstring to properly leverage Sphinx. I think it would be fine to drop the * and make it show up as something monospace so it's clear it corresponds to the parameter. Sean On Thu, Feb 2, 2012 at 13:38, Vladimir Perić wrote: > Right, me a

[sympy] Test failure in master in test_latex

2012-01-24 Thread Sean Vig
On my machine, I get a test failure in test_latex. I bisected it to "cover matAdd printing" in Chris' recent "As coeff mul" merge. I opened an issue with more details here: http://code.google.com/p/sympy/issues/detail?id=3026 Sean -- You received this message because you are subscribed to the G

Re: [sympy] ipython notebook

2012-01-17 Thread Sean Vig
I remember seeing this come up a couple days ago on ipython-user. If you have ipython working (binaries are on the IPython website), you likely just need Tornado, for which there are Windows binaries. See the thread [1] and response [2]. Sean [1] http://mail.scipy.org/pipermail/ipython-user/2012-

Re: [sympy] Re: ipython .12 notebooks with unicode or latex print

2011-12-28 Thread Sean Vig
When I run it, I do: ipython notebook --profile=sympy which loads sympy as if you ran isympy and gets the latex printing working. The same --profile=sympy works for the qtconsole. Sean On Wed, Dec 28, 2011 at 11:50, Matthew wrote: > What are precise steps to get pretty or latex printing? I've t

[sympy] Arbitrary spin coupling

2011-12-15 Thread Sean Vig
Hi everybody, With the semester wrapped up, I put the finishing touches on what is the pull request taking the current coupled angular momentum implementation and expands it to allow for coupling arbitrary numbers of angular momentum spaces. I'd appreciate any critiques, particularly people with t

[sympy] Extending physics.spin for coupling arbitrary numbers of spin spaces

2011-10-02 Thread Sean Vig
Hi everyone, Since finishing up my GSoC project, I've put in a bit of time to finish some of the project up, namely, extending the coupling of spin spaces to an arbitrary number of spaces (I only finished the coupling of 2 spaces during the project run). The working branch is here [0]. I have what

Re: [sympy] possible failure in master

2011-08-21 Thread Sean Vig
I get that exact result, linux python 2.7.2. Sean On Sun, Aug 21, 2011 at 16:50, smichr wrote: > lazovich reported a failure of > > ```python > >>> a,b,c = map(Symbol, 'abc') > >>> x,y = map(Wild, 'xy') > >>> (a+b*I).match(x+y*I) > {x_: I*b, y_: -I*a} > > Could someone test this? It doesn't fai

[sympy] Coupled spin pull request

2011-08-18 Thread Sean Vig
Hi all, The last pull I'll get in by the end of GSoC (but surely not my last pull request) is currently open [0]. Any review would be greatly appreciated. This pull addresses spin angular momentum coupling for coupling of 2 angular momentum bases. Thanks, Sean [0] https://github.com/sympy/sympy/

[sympy] Re: Clebsch-Gordan and Wigner-3j coefficients pull

2011-07-05 Thread Sean Vig
n Fri, Jun 24, 2011 at 03:30, Sean Vig wrote: > Hi all > > I just submitted a pull request for Clebsch-Gordan coefficients > https://github.com/sympy/sympy/pull/453 > Any comments or review would be greatly appreciate it. > > Sean > -- You received this message because you

Re: [sympy] Using pattern matching with Expr's

2011-06-30 Thread Sean Vig
I guess I didn't know what Atomic meant; thanks for pointing that out, it works fine now. Sean On Thu, Jun 30, 2011 at 19:57, Ronan Lamy wrote: > Le jeudi 30 juin 2011 à 19:12 -0500, Sean Vig a écrit : > > CG subclasses from AtomicExpr. > > Why did you choose that? "At

Re: [sympy] Using pattern matching with Expr's

2011-06-30 Thread Sean Vig
: {a: 1} > > Aaron Meurer > > On Thu, Jun 30, 2011 at 3:04 PM, Sean Vig wrote: > > Hi everyone, > > For a part of my project I tried using pattern matching with .match and > > Wild, as described > > here http://docs.sympy.org/0.7.0/tutorial.html#pattern-matching, t

[sympy] Using pattern matching with Expr's

2011-06-30 Thread Sean Vig
Hi everyone, For a part of my project I tried using pattern matching with .match and Wild, as described here http://docs.sympy.org/0.7.0/tutorial.html#pattern-matching, to match some instances of a class I am working on, however it does not currently work as I'd hoped in trying to match objects of

Re: [sympy] Problem with evaluating rotation operator

2011-06-26 Thread Sean Vig
Here is a pull to address the symbolic WignerD class that was mentioned [0], any review would be appreciated. It was mentioned by Ondrej to maybe use eval=False to work with current machinery, but I'm not familiar with how this machinery works, if anyone is willing to point me on that, I could chan

[sympy] Clebsch-Gordan and Wigner-3j coefficients pull

2011-06-24 Thread Sean Vig
Hi all I just submitted a pull request for Clebsch-Gordan coefficients https://github.com/sympy/sympy/pull/453 Any comments or review would be greatly appreciate it. Sean -- You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send ema

Re: [sympy] Problem with evaluating rotation operator

2011-06-22 Thread Sean Vig
nt from mobile phone > On Jun 20, 2011 10:49 AM, "Sean Vig" wrote: > > On Mon, Jun 20, 2011 at 01:54, Ondrej Certik >wrote: > > > >> Can you post here your session showing the sympy (wrong) results? It > >> will make it much easier for me to r

Re: [sympy] Problem with evaluating rotation operator

2011-06-19 Thread Sean Vig
/xyz_bases On Sun, Jun 19, 2011 at 01:06, Sean Vig wrote: > On Fri, Jun 17, 2011 at 23:37, Ondrej Certik wrote: > >> On Fri, Jun 17, 2011 at 7:23 PM, Sean Vig wrote: >> > Regarding the normalization you impose, I get that same normalization to >> > fall out of the eq

Re: [sympy] Problem with evaluating rotation operator

2011-06-17 Thread Sean Vig
Regarding the normalization you impose, I get that same normalization to fall out of the equations. From the equations, you get directly (-I)**(m-mp) * (-1)**(j+mp) Which is equal to the expression you gave if you start playing with the exponents. Sean On Fri, Jun 17, 2011 at 20:06, Sean Vig

Re: [sympy] Problem with evaluating rotation operator

2011-06-17 Thread Sean Vig
> > If you run the script, it prints the tables, so you can directly > compare it to Varshalovich. Sean, can you compare the speed of > evaluation for general beta, using Brian+your fix, versus my > implementation? Let's use the one, which is faster. I ran some tests with the new routine. Without

Re: [sympy] Problem with evaluating rotation operator

2011-06-17 Thread Sean Vig
On Fri, Jun 17, 2011 at 15:25, Ondrej Certik wrote: > Yes, that's what I had in mind. All these functions (like spherical > harmonics, Legendre polynomials, ...) should be both symbolic and the > actual result. > I think we might be able to use the eval=False option when > constructing the class,

Re: [sympy] Problem with evaluating rotation operator

2011-06-16 Thread Sean Vig
I have a pull request open for this here https://github.com/sympy/sympy/pull/431 Feel free to review and comment, thanks. Did you noticed that in master qapply(Jx*JxKet(...)) does not evaluate to > ...*hbar*JxKet. Jz*JzKet evaluates as expected but not the other two base > kets. Maybe it has nothi

[sympy] Problem with evaluating rotation operator

2011-06-16 Thread Sean Vig
Hi all, In working on some stuff with spin states, I ran into some problems with the current implementation of the Wigner small-d matrix, Rotation.d in sympy.physics.quantum.spin. I had written methods to change bases using the Wigner D-function [0] and in testing decided to try >>>qapply(JzBra(1,

Re: [sympy] SymPy 0.7.0 Release Candidate 1

2011-06-15 Thread Sean Vig
On Tue, Jun 14, 2011 at 23:26, Aaron Meurer wrote: > OK, all tests passed everywhere in the 0.7.0 branch with tox, so I've > created a 0.7.0.rc2. See > http://code.google.com/p/sympy/downloads/list. The docs have not > changed since rc1, so I did not update that file. > > Again, please download

Re: [sympy] Sympy GSoC Introduction

2011-04-07 Thread Sean Vig
On Thu, Apr 7, 2011 at 14:42, Alexey U. Gudchenko wrote: > I have not read your application in depth but I just notice that > recently I have encountered in SymPy some implementation with Clebsch > coefficients. > > So I think you should at least to write in your application about it, if > it is

Re: [sympy] Sympy GSoC Introduction

2011-04-07 Thread Sean Vig
-2011-Application-Sean-Vig As always, you can get me on the list serv or by finding me on irc nick flacjacket. Thanks, Sean On Mon, Mar 28, 2011 at 15:20, Brian Granger wrote: > Sean, > > This looks like a great start. Some general comments > > * Try to indicate when you will sub

Re: [sympy] Sympy GSoC Introduction

2011-03-28 Thread Sean Vig
suggestions or feedback: https://github.com/sympy/sympy/wiki/GSoC-2011-Application-Sean-Vig If you have any comments, you can either reply on the listserv or find me on the SymPy IRC, my nick is flacjacket. Sean On Tue, Mar 22, 2011 at 16:45, Aaron S. Meurer wrote: > Hi. > > Don't for

[sympy] Sympy GSoC Introduction

2011-03-21 Thread Sean Vig
Hello all, My name is Sean and I will be graduating this spring with majors in both physics and math from the University of Minnesota and, unless I change my mind between now and April 15, will be attending the University of Illinois at Urbana-Champaign to begin graduate work in physics in the fal