A simple python library for the analysis of second order system.
- numpy
- matplotlib
- scipy
Simple:
pip install SecondOrderElec
It's on readthedocs.
In this library you will find four main models for second order filters:
- Low-Pass(
SecondOrderElec.LP
) - High-Pass (
SecondOrderElec.HP
- Band-Pass (
SecondOrderElec.BP
) - Notch (
SecondOrderElec.Notch
)
from SecondOrderElec import LP
import numpy as np
w = np.logspace(1,3,1000)
filter_instance = LP(T0=1, m=0.1, w0=6000)
t,s = filter_instance.freqresp(w=w, plot=True)
You will find others exemples here.
Create an issue here.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.