Skip to content

Commit

Permalink
Rename kine_quantum_mary
Browse files Browse the repository at this point in the history
  • Loading branch information
vatai committed Aug 17, 2024
1 parent f63ddf0 commit 839765b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions examples/kinetics_fad_semiclassical.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import numpy as np

from radicalpy.classical import Rate, RateEquations, latex_eqlist_to_align, latexify
from radicalpy.experiments import semiclassical_kinetics_mary
from radicalpy.experiments import kine_quantum_mary
from radicalpy.plot import plot_3d_results, plot_bhalf_time
from radicalpy.relaxation import RandomFields
from radicalpy.simulation import Molecule, SemiclassicalSimulation
Expand Down Expand Up @@ -166,7 +166,7 @@ def main(Bmax=30, dB=0.5, tmax=20e-6, dt=10e-9):
adenine = Molecule.all_nuclei("fad")
sim = SemiclassicalSimulation([flavin, adenine])

results = semiclassical_kinetics_mary(
results = kine_quantum_mary(
sim,
num_samples,
rho0,
Expand Down
4 changes: 2 additions & 2 deletions examples/kinetics_fad_semiclassical_wavelength.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import radicalpy as rp
from radicalpy.classical import Rate, RateEquations, latex_eqlist_to_align, latexify
from radicalpy.experiments import semiclassical_kinetics_mary
from radicalpy.experiments import kine_quantum_mary
from radicalpy.plot import plot_3d_results, plot_bhalf_time, plot_general
from radicalpy.relaxation import RandomFields, SingletTripletDephasing
from radicalpy.simulation import Basis, Molecule, SemiclassicalSimulation
Expand Down Expand Up @@ -192,7 +192,7 @@ def main(Bmax=30, dB=0.5, tmax=10e-6, dt=10e-9):
latex_equations = latex_eqlist_to_align(latexify(base))
# print(latex_equations)

results = semiclassical_kinetics_mary(
results = kine_quantum_mary(
sim,
num_samples,
rho0,
Expand Down
2 changes: 1 addition & 1 deletion radicalpy/experiments.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ def semiclassical_mary(
return {"ts": ts, "Bs": Bs, "MARY": mary}


def semiclassical_kinetics_mary(
def kine_quantum_mary(
sim: SemiclassicalSimulation,
num_samples: int,
init_state: ArrayLike,
Expand Down

0 comments on commit 839765b

Please sign in to comment.