Skip to content

Commit

Permalink
README: sample data and dev getting started
Browse files Browse the repository at this point in the history
  • Loading branch information
nzjrs committed May 14, 2021
1 parent feab8ec commit d4fed28
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,11 @@ playlist, and closed-loop experiment (if defined in the yaml meta-language).
* Open NI Max, Right-click 'Devices and Interfaces', create a
'Simulated NI-DAQmx device or instrument', select 'NI PCIe-6353' as the simulated
device type.
* It is recommended to create a sample rig config file and a fictrac replay data that you can
test with. For example, the following command runs a configuration and sample data which test all
backends are working. It is a 30s of fictract data and a audio/video experiment that stops after
10 seconds
`$ flyvr -c tests\sample_data\v2\john_rig.yml -e experiments\stop_after_10s.yml`

# Credits

Expand Down
Binary file not shown.
4 changes: 2 additions & 2 deletions tests/sample_data/v2/john_rig.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ configuration:
analog_out_channels:
0: 'Opto'
projector_disable: true
fictrac_config: 'C:/Users/John Stowers/Downloads/Dudi_ShareWithJohn_flyVR/DSX_VR2P_IPIshort_2018/180719_103/180719_103_output.h5'
fictrac_config: 'tests/sample_data/v2/DSX_VR2P_IPIshort_2018_180719_103_output.trimmed_30s.h5'
delay: 3
playlist:
daq:
Expand All @@ -28,4 +28,4 @@ playlist:
- sin200hz: {name: 'sin', sample_rate: 44100, duration: 1000, pre_silence: 0, post_silence: 500, attenuator: null, frequency: 200, max_value: 10.0, min_value: -10.0, amplitude: 1.0, phase: 0.0}
- sin400hz: {name: 'sin', sample_rate': 44100, duration: 1000, pre_silence: 0, post_silence: 500, attenuator: null, frequency: 400, max_value: 10.0, min_value: -10.0, amplitude: 1.0, phase: 0.0}
- sin600hz: {name: 'sin', sample_rate: 44100, duration: 1000, pre_silence: 0, post_silence: 500, attenuator: null, frequency: 600, max_value: 10.0, min_value: -10.0, amplitude: 1.0, phase: 0.0}
- sin800hz: {name: 'sin', sample_rate: 44100, duration: 1000, pre_silence: 0, post_silence: 500, attenuator: null, frequency: 800, max_value: 10.0, min_value: -10.0, amplitude: 1.0, phase: 0.0}
- sin800hz: {name: 'sin', sample_rate: 44100, duration: 1000, pre_silence: 0, post_silence: 500, attenuator: null, frequency: 800, max_value: 10.0, min_value: -10.0, amplitude: 1.0, phase: 0.0}

0 comments on commit d4fed28

Please sign in to comment.