Comments (11)
Hi Tony!
Welcome and congratulations for opening the thousandth issue on this project 🥇
Please clarify what you mean by uncertainty. I was initially thinking this is about random deviations between subsequent measurements (due to noise), resulting in deviations of the fitted models. But I'm assuming it is about the accuracy of the individual fits, i.e. the error between the fit and the data. If that's the case, are you aware of the function get_rms_error()
?
Apparently, the various types of error calculations are often correlated or even equal:
https://stackoverflow.com/questions/40187517/getting-covariance-matrix-of-fitted-parameters-from-scipy-optimize-least-squares
In the final step of the vector fitting process in scikit-rf, the model residues are fitted using numpy.linalg.lstsq()
, which also returns the sums of squared residuals. These are currently ignored in the code, but we could make them accessible for the user.
scikit-rf/skrf/vectorFitting.py
Lines 534 to 537 in 74ddb7f
Is this already what you need? It would also be possible to add new error functions other than rms error.
Regards,
Vincent
from scikit-rf.
Related Issues (20)
- vector fit crashes when npoles >= npoints/2 HOT 3
- some observations about vectorfit operation
- Tests are failing HOT 11
- add statics function i.e. violin plots for a number of sample measurements HOT 1
- Analytical Matrix Inversion in subnetwork growth (Filipsson/Compton) vs General Numerical Inversion following Hallbjörner HOT 9
- De-embedding procedure help request HOT 3
- Trying to use pre-commit, doesn't like the .pre-commit-config.yaml regex. HOT 3
- S-parameter calculation incorrect for 3-port circuit HOT 46
- Required keyword argument names HOT 2
- z2s with Complex Reference Impedance HOT 2
- One possible idea to speed up the C attribute of Circuit class HOT 3
- darwin aarch64 skrf/calibration/tests/test_calibration.py failing with divide by zero (determinate calculations) HOT 4
- How to release Network object ? HOT 2
- How to perform port cropping? HOT 3
- Relation of Z-Parameters to Y-Parameters: To be, or not to be HOT 6
- scikit-rf port to .Net C#. Help Needed! HOT 3
- Google Group "scikit-rf" still exists and is full of spam HOT 3
- PR Labeler does not work HOT 1
- skrf.NetworkSet.interpolate_from_params raises exception if any identical parameter values are in a network set where as skrf.NetworkSet.interpolate_from_network using the same parameters does not. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scikit-rf.