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.5.0.tar.gz (99.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.5.0-py3-none-any.whl (31.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for xrfit-0.5.0.tar.gz
Algorithm Hash digest
SHA256 0cd6f45bb7e12d3058ac3d63a16b644836e782748d819f86dfa986bf74039bd6
MD5 0d834e5e7f88eb53ec30a6a2843d16c8
BLAKE2b-256 15491dfff14f57598d51bbbe15661ef371154bee31cd4091ce195c546b814ad0

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for xrfit-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 33fa556f0664fea63d00fa67f68f01cdaea3d048b3b5e92e38edf66358abbb3b
MD5 888ed1a6334173ef76a3abac5977476a
BLAKE2b-256 9143d79cd1282f9b6b2948ea212d3e1cf0b81025421c57ac51f669a65141438d

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