|
| | analyze_bootstrap_edge_spike (psi_N, j_bootstrap, diagnostic_plots=False) |
| | Analyze bootstrap edge spike location, width, and height.
|
| | calculate_ln_lambda (Te, Ti, ne, ni, Zeff=1.0, electron_lnLambda_model='sauter', ion_lnLambda_model='unity') |
| | Calculate Coulomb logarithm for electrons and ions.
|
| | find_optimal_scale (mygs, psi_N, pressure, ffp_prof, pp_prof, j_inductive, Ip_target, psi_pad, spike_prof=None, find_j0=True, scale_j0=1.0, tolerance=0.01, max_iter=5, diagnostic_plots=False) |
| | Optimize scaling to match input/output \(j_0\) or \(I_p\).
|
| | Hmode_profiles (edge=0.08, ped=0.4, core=2.5, rgrid=201, expin=1.5, expout=1.5, widthp=0.04, xphalf=None) |
| | This function generates H-mode density and temperature profiles evenly spaced in your favorite radial coordinate.
|
| | parameterize_edge_jBS (psi, amp, center, width, offset, sk, y_sep=0.0, blend_width=0.03, tail_alpha=1.5) |
| | Generate parameterized edge bootstrap current profile with tunable concave fall-off.
|
| | redl_bootstrap (psi_N=None, Te=None, Ti=None, ne=None, ni=None, pe=None, pi=None, Zeff=None, R=None, q=None, eps=None, fT=None, I_psi=None, dT_e_dpsi=None, dT_i_dpsi=None, dn_e_dpsi=None, dn_i_dpsi=None, dp_dpsi=None, ln_lambda_e=17.0, ln_lambda_ii=17.0, use_legacy_L34=False, use_sign_q=False, ion_collisionality_model='Zeff', formula_form='jB', Zeff_override=None, nu_e_star_override=None, nu_i_star_override=None) |
| | Bootstrap current via Redl et al., Phys.
|
| | solve_jphi (mygs, ffp_prof, pp_prof, Ip_target, pax_target) |
| | Solve Grad-Shafranov equilibrium for given profiles.
|
| | solve_with_bootstrap (mygs, ne, Te, ni, Ti, Zeff, Ip_target, inductive_jphi=None, Zis=None, scale_jBS=1.0, isolate_edge_jBS=False, psi_pad=1e-3, iterations=3, diagnostic_plots=False, parameterize_jBS=False, use_OMFIT_sauter=False) |
| | Self-consistently compute bootstrap current from H-mode profiles.
|