Superconductivity models ======================== .. py:module:: asymmetry.core.fitting.sc .. currentmodule:: asymmetry.core.fitting The superconductivity API is organised around normalised superfluid density .. math:: \rho_s(T)=\left[\frac{\lambda(0)}{\lambda(T)}\right]^2, with measured :math:`\sigma(T)` provided in additive and quadrature forms. Kernel and gap helpers ^^^^^^^^^^^^^^^^^^^^^^ Thermal kernel and angular averaging: .. autofunction:: asymmetry.core.fitting.sc.kernel.thermal_integral .. autofunction:: asymmetry.core.fitting.sc.kernel.superfluid_density .. autoclass:: asymmetry.core.fitting.sc.gaps.GapForm :members: Gap-amplitude approximations and convention helpers: .. autofunction:: asymmetry.core.fitting.sc.bcs.delta_bcs .. autofunction:: asymmetry.core.fitting.sc.bcs.delta_generalized .. autofunction:: asymmetry.core.fitting.sc.bcs.gap_ratio_from_mev .. autofunction:: asymmetry.core.fitting.sc.bcs.resolve_gap_ratio Angular gap form factors: .. autofunction:: asymmetry.core.fitting.sc.gaps.isotropic_s .. autofunction:: asymmetry.core.fitting.sc.gaps.d_wave .. autofunction:: asymmetry.core.fitting.sc.gaps.anisotropic_s_cos4 .. autofunction:: asymmetry.core.fitting.sc.gaps.nonmonotonic_d_wave .. autofunction:: asymmetry.core.fitting.sc.gaps.s_plus_g Single-gap and anisotropic models ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Isotropic and nodal baselines: .. autofunction:: asymmetry.core.fitting.sc.models.rho_s_wave .. autofunction:: asymmetry.core.fitting.sc.models.sc_s_wave .. autofunction:: asymmetry.core.fitting.sc.models.rho_d_wave .. autofunction:: asymmetry.core.fitting.sc.models.sc_d_wave Anisotropic variants: .. autofunction:: asymmetry.core.fitting.sc.models.rho_anisotropic_s_cos4 .. autofunction:: asymmetry.core.fitting.sc.models.sc_anisotropic_s_cos4 .. autofunction:: asymmetry.core.fitting.sc.models.rho_nonmonotonic_d .. autofunction:: asymmetry.core.fitting.sc.models.sc_nonmonotonic_d .. autofunction:: asymmetry.core.fitting.sc.models.rho_s_plus_g .. autofunction:: asymmetry.core.fitting.sc.models.sc_s_plus_g Additional unconventional examples: .. autofunction:: asymmetry.core.fitting.sc.models.rho_extended_s .. autofunction:: asymmetry.core.fitting.sc.models.sc_extended_s .. autofunction:: asymmetry.core.fitting.sc.models.rho_p_wave_axial .. autofunction:: asymmetry.core.fitting.sc.models.sc_p_wave_axial .. autofunction:: asymmetry.core.fitting.sc.models.rho_p_wave_polar_3d .. note:: ``rho_extended_s`` uses the generalized weak-coupling reduced-gap law with ``a = 4/3`` by default. For ``rho_anisotropic_s_cos4``, ``sc_anisotropic_s_cos4``, ``rho_p_wave_axial``, ``sc_p_wave_axial``, and ``rho_p_wave_polar_3d``, the optional ``shape_factor_a`` parameter can be supplied when a symmetry-specific weak-coupling shape factor is known or is to be fitted. If ``shape_factor_a`` is omitted or left at ``0``, these models fall back to the Carrington-Manzano interpolation. Two-gap and alpha models ^^^^^^^^^^^^^^^^^^^^^^^^ Weighted-sum two-gap models (including MgB2-style s+s decomposition): .. autofunction:: asymmetry.core.fitting.sc.models.sc_two_gap_ss .. autofunction:: asymmetry.core.fitting.sc.models.sc_two_gap_sd Alpha-model scaling: .. autofunction:: asymmetry.core.fitting.sc.models.sc_alpha_model Quadrature sigma models ^^^^^^^^^^^^^^^^^^^^^^^ These variants are intended for workflows where superconducting and non-superconducting linewidth channels are modelled as independent Gaussian contributions added in quadrature. .. autofunction:: asymmetry.core.fitting.sc.models.sc_s_wave_q .. autofunction:: asymmetry.core.fitting.sc.models.sc_d_wave_q .. autofunction:: asymmetry.core.fitting.sc.models.sc_s_plus_g_q lambda and sigma conversion helpers: .. autoclass:: asymmetry.core.fitting.sc.GaussianWidth :members: .. autofunction:: asymmetry.core.fitting.sc.constants.sigma_to_lambda_nm .. autofunction:: asymmetry.core.fitting.sc.constants.lambda_nm_to_sigma_us .. autofunction:: asymmetry.core.fitting.sc.models.rho_to_lambda_inv_sq .. autofunction:: asymmetry.core.fitting.sc.models.rho_to_lambda .. autofunction:: asymmetry.core.fitting.sc.models.lambda_inv_sq_from_model .. autofunction:: asymmetry.core.fitting.sc.models.lambda_from_model Models ------ .. autofunction:: asymmetry.core.fitting.sc.models.brandt_field_factor