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

Time Independent/Dependent Perturbation #2978

Closed
wants to merge 4 commits into
from

Conversation

Projects
None yet
3 participants

This gives the energy correction terms upto 2nd order for time dependent and transition rate for time dependent perturbation.

Update perturbation
Changed (if != n) in Perturbation_time_independent_second_order
Owner

certik commented Mar 4, 2014

Few points:

  • don't use master when you develop a new feature, use a branch
  • the perturbation file that you added cannot be imported, you need to rename it to perturbation.py

When I did that, here is what I got:

In [1]: import perturbation
  File "perturbation.py", line 41
    '''

^
IndentationError: expected an indented block

So you need to fix the indentation, so that the file imports. Then I can start playing with your code.

Update perturbation
Indentation Error fixed

Sorry, Didn't check after putting the comments! Fixed it now.
And how do i change the branch now!

Owner

certik commented Mar 5, 2014

You still need to rename the perturbation file. Please read here how to work with git and branches:

https://github.com/sympy/sympy/wiki/Development-workflow

@skirpichev skirpichev referenced this pull request Apr 27, 2014

Closed

Perturbation.py #3003

Contributor

skirpichev commented Apr 27, 2014

a duplicate of #3003

@skirpichev skirpichev closed this Apr 27, 2014

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