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.7.0.tar.gz (119.4 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.7.0-py3-none-any.whl (33.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for xrfit-0.7.0.tar.gz
Algorithm Hash digest
SHA256 eea504581de329d37ef94059053c506d13854c01bdac9843a4d9d56b2c5165c9
MD5 03665b3015bf1ba6a8b09b3bdad7c19c
BLAKE2b-256 968ee1d27e1c06eafda11c75a6ef81ff31d7473224e57ca3a0782ffedb8da0e7

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for xrfit-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 66cb0fd1e4abb50ec44a107a96d07ee4207a91d133cdf47916116cc834402e71
MD5 6eea1f6e27d390a57bef957d118aabbf
BLAKE2b-256 6efb4bb3123705d2cb157f4f0838994eaca8087d46ef60f2d6beec87f26642d6

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