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.6.0.tar.gz (119.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.6.0-py3-none-any.whl (33.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for xrfit-0.6.0.tar.gz
Algorithm Hash digest
SHA256 12a47a16455e4f9b5d8a7cdeccb86b728f2ecdd1e591ff9531f135a36b9c026d
MD5 47f6868811f9566c132c17a40e0f4642
BLAKE2b-256 b9deeb1f9479dd666557c2019e1b4dad60f1facbf8c44de18d4932230735e913

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for xrfit-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 83b216e8934a161edb92c47a1a15e30a49e074c8f05a4f0c22653119a56f3c2a
MD5 ad6f7c58589353038519bac0dd9b4832
BLAKE2b-256 e239695aeef469b09a85093570495dffb0195edc406140cb53eb6053023cfdd4

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