Functions and scripts for measuring windspeed using a hotwire anemometer from Dantec Dynamics.
Inside /code:
-
proportional_valve_testing.py This contains a script for sending 1kHz commands through NIDAQmx to a proportional valve from Clippard and recording the hotwire anemometer measurements via an analog in port on the NIDAQ board.
-
AF_supportfunctions Includes functions to generate stimulus files to use with proportional_valve_testing.py and to fit a Hill equation to the relationship between linear airflow velocity and proportional valve commands in voltage.
Inside /data:
- single_square_pulse_anem_volts.csv Can be read in as a dataframe by proportional_valve_testing.py and will step through the 50 trials of square pulses of voltage commands to the proportional valve.