Skip to main content

xrfit

Project description

xrfit

Supported Python Versions PyPi pre-commit.ci status Codecov Coverage Ruff

Overview 🎯

xrfit provides Model-based, Multidimensional regression/analysis methods. By Integrating,

  1. xarray to handle multivariate data by utilizing coordinate-aware structure of DataArray.

  2. lmfit to deal complex regression problems using the composite-model based approach.

Features ✨

  1. Model based regression
    model = Model_1() + Model_2()
    guess = data.fit.guess(model=model)
    result = data.fit(model=model, params=guess)
    
  2. Parameter handling (e.g. Sorting and Smoothing parameters)
    sorted_result = result.params.sort("params_name")
    smoothened_result = sorted_result.params.smoothen("params_name")
    new_result = data.fit(model=model, params=smoothened_result.parmams)
    
  3. Interactive visualization
    result.display()
    

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xrfit-0.9.0.tar.gz (121.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

xrfit-0.9.0-py3-none-any.whl (35.0 kB view details)

Uploaded Python 3

File details

Details for the file xrfit-0.9.0.tar.gz.

File metadata

  • Download URL: xrfit-0.9.0.tar.gz
  • Upload date:
  • Size: 121.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.5.30

File hashes

Hashes for xrfit-0.9.0.tar.gz
Algorithm Hash digest
SHA256 de2e992098b8a594b567d8b5339689193894bdf45badfb1ae603e2534c115241
MD5 78d88063571ac5873d02f8c592e34bf9
BLAKE2b-256 a3b185bd0b693daa5768eba1083cb22de8db96e6252985297f73158acd83da31

See more details on using hashes here.

File details

Details for the file xrfit-0.9.0-py3-none-any.whl.

File metadata

  • Download URL: xrfit-0.9.0-py3-none-any.whl
  • Upload date:
  • Size: 35.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.5.30

File hashes

Hashes for xrfit-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b5624546c1b4fc0a7b5714133c2c39db2258845e9171c6b92b0654cf0b5781a5
MD5 e50dc6a0e5d7785f4e8f7f0451bb0042
BLAKE2b-256 087bd6bcb644668ae464f4b45f4b04e672506b462f5bca6c9985648091c5e17d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page