def post(self): wavelengths = send_sts_command(SocketClient(), STS_INTERFACE.get('get_wavelengths')) response = [float(i) for i in wavelengths[6:-1].split()] return response
def post(self): values = send_sts_command(SocketClient(), STS_INTERFACE.get('get_spectrum')) response = [float(i) for i in values[6:-1].split()] return response