import numpy as np
import pysmurf

status = {}

# Initialize
S = pysmurf.SmurfControl()

# Get amplifier biases

# Turn on one tone

# read ADC/DAC

# Turn off tone

# read ADC/DAC

# full band response

# find_freq

# setup notches

# Actually take a tuning serial gradient descent using tune_band_serial

# track

# now track and check

# take data

# read back data

# now take data using take_noise_psd and plot stuff

# Command and IV.

# Play TES tone file