This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from numpy import min, argmin | |
from sklearn.feature_selection import RFECV | |
from sklearn.model_selection import cross_val_score, RandomizedSearchCV, ShuffleSplit, StratifiedKFold | |
from sklearn.preprocessing import StandardScaler | |
from sklearn.pipeline import make_pipeline | |
# here would be the code to get the data and initialize the classifiers | |
# with their associated search ranges as well as all labels | |
# namely the functions and variables: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
""" | |
Created on Sun Jan 27 13:58:13 2019 | |
DISCRIPTION: | |
A simple purely state and voltage based model for a schmitt_trigger HEF4093B | |
with 13V supply voltage | |
values taken from data sheet: | |
https://assets.nexperia.com/documents/data-sheet/HEF4093B.pdf#G1001577288 | |
values were roughly interpolated for 13V supply voltage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pandas as pd | |
import numpy as np | |
import matplotlib.pyplot as plt | |
#%% make some data frame for testing | |
phi = np.linspace(0, 2*np.pi, 1024) | |
df = pd.DataFrame({ | |
'cos': np.cos(phi), | |
'sin': np.sin(phi), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
############################################################################ | |
# | |
# MODULE: Worldview-2_toar_v2 | |
# | |
# AUTHOR(S): Overall script by Mirijam Zickel (University of Cologne) | |
# Python scripting and support by T. Glaubach | |
# |