Skip to content

Commit

Permalink
missing test config; move blosc to level 1
Browse files Browse the repository at this point in the history
  • Loading branch information
misko committed Mar 25, 2024
1 parent 952e941 commit ef42674
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 1 deletion.
2 changes: 1 addition & 1 deletion spf/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def zarr_new_dataset(
if compressor is None:
compressor = Blosc(
cname="zstd",
clevel=4,
clevel=1,
shuffle=Blosc.BITSHUFFLE,
)
z.create_group("receivers")
Expand Down
51 changes: 51 additions & 0 deletions tests/wall_array_v2_external_test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# 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: fake:A
theta-in-pis: -0.25
antenna-spacing-m: 0.05075 # 50.75 mm
nelements: 2
array-type: linear
rx-gain-mode: fast_attack
rx-buffers: 4
rx-gain: -3
buffer-size: 4096 # 2**12
f-intermediate: 100000 #1.0e5
f-carrier: 2467000000 #2.5e9
f-sampling: 16000000 # 16.0e6
bandwidth: 300000 #3.0e5
motor_channel: 0
- receiver-uri: fake:B
theta-in-pis: 1.25
antenna-spacing-m: 0.05075 # 50.75 mm
nelements: 2
array-type: linear
rx-gain-mode: fast_attack
rx-buffers: 4
rx-gain: -3
buffer-size: 4096 # 2**12
f-intermediate: 100000 #1.0e5
f-carrier: 2467000000 #2.5e9
f-sampling: 16000000 # 16.0e6
bandwidth: 300000 #3.0e5
motor_channel: 0


n-thetas: 65
n-records-per-receiver: 60
width: 4000
calibration-frames: 800
routine: null
skip_phase_calibration: true
serial: none

0 comments on commit ef42674

Please sign in to comment.