Contents Menu Expand Light mode Dark mode Auto light/dark mode Skip to content
MDHelper 1.0.0 documentation
Logo
  • Home
  • API Reference
    • algorithm
      • accelerated
        • cosine_sum_1d
        • cosine_sum_2d
        • cosine_sum_inplace_2d
        • cosine_sum_inplace_parallel_2d
        • cosine_sum_parallel_2d
        • delta_fourier_transform_1d_1d
        • delta_fourier_transform_sum_2d_2d
        • delta_fourier_transform_sum_parallel_2d_2d
        • dot_1d_1d
        • inner_2d_2d
        • inner_parallel_2d_2d
        • pythagorean_trigonometric_identity_1d
        • pythagorean_trigonometric_identity_1d_1d
        • sine_sum_1d
        • sine_sum_2d
        • sine_sum_inplace_2d
        • sine_sum_inplace_parallel_2d
        • sine_sum_parallel_2d
      • correlation
        • correlation_fft
        • correlation_shift
        • msd_fft
        • msd_shift
      • molecule
        • center_of_mass
        • radius_of_gyration
      • topology
        • create_atoms
        • unwrap
        • unwrap_edge
        • wrap
      • unit
        • get_lj_scaling_factors
        • get_scaling_factors
        • strip_unit
      • utility
        • depth_first_search
        • find_connected_nodes
        • get_closest_factors
        • rebin
        • replicate
    • analysis
      • base
        • DynamicAnalysisBase
        • Hash
        • NumbaAnalysisBase
        • ParallelAnalysisBase
        • SerialAnalysisBase
      • electrostatics
        • calculate_relative_permittivity
        • DipoleMoment
      • polymer
        • calculate_relaxation_time
        • correlation_fft
        • correlation_shift
        • EndToEndVector
        • Gyradius
        • SingleChainStructureFactor
      • profile
        • calculate_potential_profile
        • DensityProfile
      • structure
        • calculate_coordination_numbers
        • calculate_structure_factor
        • radial_fourier_transform
        • radial_histogram
        • zeroth_order_hankel_transform
        • IntermediateScatteringFunction
        • RadialDistributionFunction
        • StructureFactor
      • thermodynamics
        • ConstantVolumeHeatCapacity
      • transport
        • calculate_conductivity
        • calculate_electrophoretic_mobility
        • calculate_transference_number
        • calculate_transport_coefficients
        • msd_fft
        • msd_shift
        • Onsager
    • fit
      • distribution
        • weibull
      • exponential
        • biexp
        • exp
        • exp1
        • exp2
        • stretched_exp
      • fourier
        • fourier
        • fourier1
        • fourier2
        • fourier3
        • fourier4
        • fourier5
        • fourier6
        • fourier7
        • fourier8
      • gaussian
        • gauss
        • gauss1
        • gauss2
        • gauss3
        • gauss4
        • gauss5
        • gauss6
        • gauss7
        • gauss8
      • polynomial
        • poly
        • poly1
        • poly2
        • poly3
        • poly4
        • poly5
        • poly6
        • poly7
        • poly8
        • poly9
      • power
        • power
        • power1
        • power2
    • lammps
      • topology
        • create_atoms
        • write_data
    • openmm
      • bond
        • fene
      • file
        • NetCDFFile
      • pair
        • coul_gauss
        • dpd
        • gauss
        • lj_coul
        • ljts
        • solvation
        • wca
        • yukawa
      • reporter
        • NetCDFReporter
      • system
        • add_electric_field
        • add_image_charges
        • add_slab_correction
        • estimate_pressure_tensor
        • register_particles
      • topology
        • create_atoms
        • get_subset
      • unit
        • get_lj_scaling_factors
        • get_scaling_factors
      • utility
        • optimize_pme
    • plot
      • axis
        • set_up_tabular_legend
      • color
        • adjust_lightness
      • rcparam
        • update
Back to top

fit¶

Curve fitting¶

This module provides a library of curve fitting models, such as exponential, Fourier series, polynomial, and power law models, for use with scipy.optimize.curve_fit().

mdhelper.fit.distribution

Weibull distribution models

mdhelper.fit.exponential

Exponential models

mdhelper.fit.fourier

Fourier series models

mdhelper.fit.gaussian

Gaussian models

mdhelper.fit.polynomial

Polynomial models

mdhelper.fit.power

Power models

Next
distribution
Previous
Onsager
Copyright © 2023–2024 Benjamin Ye, Pierre Walker
Made with Sphinx and @pradyunsg's Furo
On this page
  • fit
    • Curve fitting