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
## first cat : 2 individual, 0 or 1 | |
## second cat: 2 vars, 0 or 1 | |
freq = "5min" | |
prediction_length = 10 | |
context_length = 20 | |
feat_00 = list( np.random.randn( 300 ) ) | |
feat_01 = list( np.random.randn( 300 ) ) | |
feat_10 = list( np.random.randn( 300 ) ) |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
#!/anaconda3/bin/python | |
import serial | |
import sys | |
import ctypes | |
def tone(ser, frequency, power, onoff = True): | |
if (frequency < 2402) or (frequency > 2480): | |
print("Frequency must be between 2402-2480 Mhz") | |
if type(frequency) != int: |