Re: [sympy] PyDy Visualization Milestone

2013-09-10 Thread Dale Lukas Peterson
On Tue, Sep 10, 2013 at 11:50 AM, Jason Moore wrote: > Tarun showed me an exciting result for the pydy-viz distribution > yesterday. He's got the basic Python and Javascript code together to > visualize general systems derived with sympy.physics.mechanics. This is > quite a milestone for him and

Re: [sympy] Where is PyDy Viz?

2013-08-16 Thread Dale Lukas Peterson
On Fri, Aug 16, 2013 at 11:24 AM, Jason Moore wrote: > Ok, I've started this repo: https://github.com/PythonDynamics/PyDy > > I'll be working on getting it into shape so that we can have one installer > for the PyDy distribution and it will contain SymPy mechanics and the new > visualization pack

Re: [sympy] Limits Question

2013-08-13 Thread Dale Lukas Peterson
> > > > series did not work. limits did for evaluating the derivatives. First > derivatives were quick. Second derivatives took a long time (15min). > -- > > I'm curious, why do you need second derivatives? -- You received this message because you are subscribed to the Google Groups "sympy"

Re: [sympy] Limits Question

2013-08-13 Thread Dale Lukas Peterson
> > Also, try the ".series()" command. It might work, as it is expanding > the expression inside out, > to avoid such problems. > > Also, if you can put the equations in the form: dx/dt = f(x), and you have f(x) as a Sympy Matrix of expressions, you can simply do df = f.jacobian(x), then evaluate (

Re: [sympy] Bottleneck in sympy.mechanics

2013-08-06 Thread Dale Lukas Peterson
> https://gist.github.com/certik/6170161 > > It has over 80,000 operations. Now, what exact operation are we doing with > this? > I've been trying to understand the code of KM.linearize(), but it's > not clear to me. linearize() was our initial implementation of the work we began in 2011 during G

[sympy] Robotic bicycle

2013-07-04 Thread Dale Lukas Peterson
I recently balanced my robotic bicycle at a number of speeds between 1-5 m/s and wanted to share the video of one the runs: http://youtu.be/swcNpJTTGyI The reason I am sending this to the Sympy list is because the mathematical model of the bicycle was derived using Sympy (sympy.physics.mechanics

Re: [sympy] PyDy API for visualization package

2013-06-14 Thread Dale Lukas Peterson
Looking good! A few things: On Fri, Jun 14, 2013 at 8:13 PM, Jason Moore wrote: > Tarun and I have started to hash out what the visualization API may look > like and what functionality it will have. > Looking good! A few things: the four_by_four() method takes no argument(s)? It seems it sh

Re: [sympy] Re: GSoC application for work under PyDy

2013-05-02 Thread Dale Lukas Peterson
> SymPy has a function called test_numerically in > sympy.utilities.randtest that can help with this approach. Cool, I wasn't aware of that. Good to know. Luke -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop r

Re: [sympy] Re: GSoC application for work under PyDy

2013-05-02 Thread Dale Lukas Peterson
I am quite swamped and only was briefly able to look at your pull request but I would advise not using or relying on simplify in tests if at all possible. For one, it is slow, and it alos gives different results depending on python versions, and finally, its implementation could easily change down

Re: [sympy] codeprinter.py missing import

2013-03-02 Thread Dale Lukas Peterson
it in. With a pull request, the tests are run automatically by > Travis, and if there's a green light, we can merge it with a single > button. > > Aaron Meurer > > On Sat, Mar 2, 2013 at 2:07 PM, Dale Lukas Peterson > wrote: >> sympy/printing/codeprinter.py:175 uses S

[sympy] codeprinter.py missing import

2013-03-02 Thread Dale Lukas Peterson
sympy/printing/codeprinter.py:175 uses S.One, but S has not been imported. The attached patch fixes this. I can open a PR if needed but this is such a minor change I figured it might not be necessary. Luke -- "People call me a perfectionist, but I'm not. I'm a rightist. I do something until i

Re: [sympy] PyDy/SymPy call for GoSC proposals

2013-02-25 Thread Dale Lukas Peterson
On Sat, Feb 23, 2013 at 3:32 PM, Aaron Meurer wrote: > pydy.org gives a 404. You might want to fix that. I'm not sure why pydy.org was 404'ing, it is fine now. It is hosted on a AWS t1.micro instance, so maybe it just got briefly overloaded. > You should also contact the SymPy list, as they wil

Re: [sympy] Restriction on frame for a vector

2012-12-15 Thread Dale Lukas Peterson
> In the above example, if there exists no relation between r1 and r2, v as a > Vector does not make sense mathematically. Hence, it would be useful if the > user would be prevented from adding vectors in unrelated frames in the first > place. I would argue that it does make sense to create a vect

Re: [sympy] Restriction on frame for a vector

2012-12-15 Thread Dale Lukas Peterson
> And what stops the user from making a connecting path between r2 and > r1 after the error is raised? Nothing. For example, you could do: >>> r2.orient(r1, 'Axis', [1.2, r1.x + 2 * r1.y]) >>> v.magnitude() 3.39563563847124 Luke -- You received this message because you are subscribed to the G