vectfit.py
Python中复制。
若要使用,请将vectfit.py放在路径上的某个位置
import vectfit
import numpy as np
# Create some test data using known poles and residues
# Substitute your source of data as needed
# Note our independent variable lies along the imaginary axis
test_s = 1j * np . linspace ( 1 , 1e5 , 800 )
# Poles are produced in complex conjugate pairs
test_poles = [
- 4500 ,
- 41000 ,
- 100 + 5000j
2022-11-01 20:24:06
11KB
Python
1