Skip to content

Commit

Permalink
rm caps from func name
Browse files Browse the repository at this point in the history
  • Loading branch information
timpol committed Sep 17, 2022
1 parent f5d7eab commit b96f612
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/pysoplot/uxpb/dqmc.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ def concint_age(t, fit, A, sA, init, trials=50_000, dc_errors=False,
full_output=True)
flags = mc.check_ages(ts, c, flags, negative_ages=negative_ages)

# calculate initial activity ratios
A48i, A08i = useries.Ai_solutions(ts, pA[:3, :], init, DC8)
# get initial activity ratio solutions
A48i, A08i = useries.ari_solutions(ts, pA[:3, :], init, DC8)

if not negative_ar:
if A48i is not None:
Expand Down Expand Up @@ -193,7 +193,7 @@ def isochron_age(t, fit, A, sA, init=(True, True), trials=50_000,

# back-calculate activity ratios
if age_type == 'iso-Pb6U8':
A48i, A08i = useries.Ai_solutions(ts, pA, init, DC)
A48i, A08i = useries.ari_solutions(ts, pA, init, DC)
if not negative_ar:
if A48i is not None:
flags = mc.update_flags(flags, A48i < 0., mc.NEGATIVE_AR_SOL)
Expand Down
6 changes: 3 additions & 3 deletions src/pysoplot/uxpb/dqpb.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ def concint_age(fit, A, sA, init, t0, diagram='tw', dc_errors=False, trials=50_0
raise RuntimeError(f'negative disequilibrium age solution: {t} Ma')

# Get initial acitivity rario solutions:
A48i, A08i = useries.Ai_solutions(t, A[:-1], init, (cfg.lam238,
cfg.lam234, cfg.lam230))
A48i, A08i = useries.ari_solutions(t, A[:-1], init, (cfg.lam238,
cfg.lam234, cfg.lam230))

# Compute age uncertainties:
mc = dqmc.concint_age(t, fit, A, sA, init, trials=trials, dc_errors=dc_errors,
Expand Down Expand Up @@ -179,7 +179,7 @@ def isochron_age(fit, A, sA, t0, init=(True, True), age_type='iso-Pb6U8',
# Back-calculate activity ratios:
if age_type == 'iso-Pb6U8':
DC = (cfg.lam238, cfg.lam234, cfg.lam230, cfg.lam226)
A48i, A08i = useries.Ai_solutions(t, A, init, DC)
A48i, A08i = useries.ari_solutions(t, A, init, DC)
else:
A48i, A08i = (None, None)

Expand Down

0 comments on commit b96f612

Please sign in to comment.