diff --git a/data_collection_model_and_results/2d_wall_array/2d_wall_array_v2/run_capture.sh b/data_collection_model_and_results/2d_wall_array/2d_wall_array_v2/run_capture.sh index 558f2d7d..12793e9d 100644 --- a/data_collection_model_and_results/2d_wall_array/2d_wall_array_v2/run_capture.sh +++ b/data_collection_model_and_results/2d_wall_array/2d_wall_array_v2/run_capture.sh @@ -8,7 +8,7 @@ reboot_plutos () { export ROOT="../../../" -config=${ROOT}/spf/v5_configs/wall_array_v2_external_75.yaml +config=${ROOT}/spf/v5_configs/wall_array_v2_external_35.yaml #reboot_plutos sleep 3 diff --git a/run.sh b/run.sh index 59bcc261..1826c2da 100644 --- a/run.sh +++ b/run.sh @@ -1 +1,3 @@ python spf/notebooks/simple_train.py --device cuda --seed 0 --nthetas 11 --datasets /mnt/md0/spf/2d_wallarray_v2_data/june/*.zarr --batch 1024 --workers 16 --act leaky --shuffle --segmentation-level downsampled --type direct --seg-net conv --epochs 1200 --shuffle --symmetry --no-sigmoid --block --n-radios 2 --skip-qc --wandb-project test123 --val-every 500 --val-holdout-fraction 0.15 --lr 0.001 --paired-start 0 --seg-start 0 --paired-lambda 0.2 +#python spf/grbl_radio_collection.py -c spf/v5_configs/wall_array_v2_external.yaml -r rx_circle -s /dev/ttyACM0 +python spf/grbl_radio_collection.py -c spf/v5_configs/wall_array_v2_external.yaml -r bounce -s /dev/ttyACM0 diff --git a/spf/v5_configs/wall_array_v2_external_35.yaml b/spf/v5_configs/wall_array_v2_external_35.yaml new file mode 100644 index 00000000..115bdea6 --- /dev/null +++ b/spf/v5_configs/wall_array_v2_external_35.yaml @@ -0,0 +1,54 @@ +# The ip of the emitter +# When the emitter is brought online it is verified +# by a receiver that it actually is broadcasting +emitter: + type: esp32 + motor_channel: 1 + +# Two receivers each with two antennas +# When a receiver is brought online it performs +# phase calibration using an emitter equidistant from +# both receiver antenna +# The orientation of the receiver is described in +# multiples of pi +receivers: + - receiver-uri: ip:192.168.1.17 + theta-in-pis: -0.25 + antenna-spacing-m: 0.035 # 40 mm + nelements: 2 + array-type: linear + rx-gain-mode: fast_attack + rx-buffers: 2 + rx-gain: -3 + buffer-size: 524288 + f-intermediate: 100000 #1.0e5 + f-carrier: 2412000000 #2.5e9 + f-sampling: 16000000 # 16.0e6 + bandwidth: 300000 #3.0e5 + motor_channel: 0 + - receiver-uri: ip:192.168.1.18 + theta-in-pis: 1.25 + antenna-spacing-m: 0.035 # 40 mm + nelements: 2 + array-type: linear + rx-gain-mode: fast_attack + rx-buffers: 2 + rx-gain: -3 + buffer-size: 524288 + f-intermediate: 100000 #1.0e5 + f-carrier: 2412000000 #2.5e9 + f-sampling: 16000000 # 16.0e6 + bandwidth: 300000 #3.0e5 + motor_channel: 0 + + +n-thetas: 65 +n-records-per-receiver: 5000 +width: 4000 +calibration-frames: 10 +routine: null +skip_phase_calibration: true + + +data-version: 5 +seconds-per-sample: 1.0 diff --git a/spf/v5_configs/wall_array_v2_external_70.yaml b/spf/v5_configs/wall_array_v2_external_70.yaml new file mode 100644 index 00000000..04d2fb2f --- /dev/null +++ b/spf/v5_configs/wall_array_v2_external_70.yaml @@ -0,0 +1,54 @@ +# The ip of the emitter +# When the emitter is brought online it is verified +# by a receiver that it actually is broadcasting +emitter: + type: esp32 + motor_channel: 1 + +# Two receivers each with two antennas +# When a receiver is brought online it performs +# phase calibration using an emitter equidistant from +# both receiver antenna +# The orientation of the receiver is described in +# multiples of pi +receivers: + - receiver-uri: ip:192.168.1.17 + theta-in-pis: -0.25 + antenna-spacing-m: 0.070 # 40 mm + nelements: 2 + array-type: linear + rx-gain-mode: fast_attack + rx-buffers: 2 + rx-gain: -3 + buffer-size: 524288 + f-intermediate: 100000 #1.0e5 + f-carrier: 2412000000 #2.5e9 + f-sampling: 16000000 # 16.0e6 + bandwidth: 300000 #3.0e5 + motor_channel: 0 + - receiver-uri: ip:192.168.1.18 + theta-in-pis: 1.25 + antenna-spacing-m: 0.070 # 40 mm + nelements: 2 + array-type: linear + rx-gain-mode: fast_attack + rx-buffers: 2 + rx-gain: -3 + buffer-size: 524288 + f-intermediate: 100000 #1.0e5 + f-carrier: 2412000000 #2.5e9 + f-sampling: 16000000 # 16.0e6 + bandwidth: 300000 #3.0e5 + motor_channel: 0 + + +n-thetas: 65 +n-records-per-receiver: 5000 +width: 4000 +calibration-frames: 10 +routine: null +skip_phase_calibration: true + + +data-version: 5 +seconds-per-sample: 1.0 diff --git a/spf/v5_configs/wall_array_v2_external_75.yaml b/spf/v5_configs/wall_array_v2_external_75.yaml new file mode 100644 index 00000000..5e4d18c7 --- /dev/null +++ b/spf/v5_configs/wall_array_v2_external_75.yaml @@ -0,0 +1,54 @@ +# The ip of the emitter +# When the emitter is brought online it is verified +# by a receiver that it actually is broadcasting +emitter: + type: esp32 + motor_channel: 1 + +# Two receivers each with two antennas +# When a receiver is brought online it performs +# phase calibration using an emitter equidistant from +# both receiver antenna +# The orientation of the receiver is described in +# multiples of pi +receivers: + - receiver-uri: ip:192.168.1.17 + theta-in-pis: -0.25 + antenna-spacing-m: 0.075 # 40 mm + nelements: 2 + array-type: linear + rx-gain-mode: fast_attack + rx-buffers: 2 + rx-gain: -3 + buffer-size: 524288 + f-intermediate: 100000 #1.0e5 + f-carrier: 2412000000 #2.5e9 + f-sampling: 16000000 # 16.0e6 + bandwidth: 300000 #3.0e5 + motor_channel: 0 + - receiver-uri: ip:192.168.1.18 + theta-in-pis: 1.25 + antenna-spacing-m: 0.075 # 40 mm + nelements: 2 + array-type: linear + rx-gain-mode: fast_attack + rx-buffers: 2 + rx-gain: -3 + buffer-size: 524288 + f-intermediate: 100000 #1.0e5 + f-carrier: 2412000000 #2.5e9 + f-sampling: 16000000 # 16.0e6 + bandwidth: 300000 #3.0e5 + motor_channel: 0 + + +n-thetas: 65 +n-records-per-receiver: 5000 +width: 4000 +calibration-frames: 10 +routine: null +skip_phase_calibration: true + + +data-version: 5 +seconds-per-sample: 1.0