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.4.0.tar.gz (98.5 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.4.0-py3-none-any.whl (30.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for xrfit-0.4.0.tar.gz
Algorithm Hash digest
SHA256 f80dc95f208c74de577e2d5b1c348cd7b7861a3c9a8254da19a3b9f67e91752d
MD5 c53ab5ce6a9eb71c5922f6ee26ab1b1b
BLAKE2b-256 4dc19ef6eca8912dfef621c8eaf133ff4d75ad0f52d18350d8db1d8c8332f3b1

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for xrfit-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6dd0bc92ffb6b4052339468d403fd4c900e2a4b977d3e25e36fd82e2480dbd9d
MD5 672baa703aa6e3966f6c02b4c09a53c9
BLAKE2b-256 a1e7b108dab602fe8d7d3ae4f058474a10ae30316d6814f9ac596cb17a6d380a

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