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.3.0.tar.gz (98.1 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.3.0-py3-none-any.whl (30.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: xrfit-0.3.0.tar.gz
  • Upload date:
  • Size: 98.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.26

File hashes

Hashes for xrfit-0.3.0.tar.gz
Algorithm Hash digest
SHA256 949338e7e0ed3103ec121fd1c9b437d5305307a88b8546870ac0b228525ceaa1
MD5 e421e8525fde4e59b879a20deff67158
BLAKE2b-256 690ac9d70b3d828f7bd72b3db02dfbb7def59ba902bcf6c84e18e68307cedc2c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: xrfit-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 30.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.26

File hashes

Hashes for xrfit-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2beaad8e1279e6ab0c1f265ec7a4960d0c960614934c8af557ff8692b0371f2a
MD5 db4b0d0e34f29c1d4df87efbde653023
BLAKE2b-256 42a1a6640f77598568d18828ea4f8d1e58d6a01d8ddd5a47069d0ecfa0958e2c

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