Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mroda/detail file #10

Merged
merged 1 commit into from
May 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions python/daphnemodules/daphnemodulesapp_gen.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ def unpack( j : dict, block : str ) -> dict :
def to_adc( j : dict ) -> daphnecontroller.ADCConf :
ret = daphnecontroller.ADCConf(
resolution = j['resolution'],
output_formal = j['output_format'],
SB_first = j['SB_first '])
output_format = j['output_format'],
SB_first = j['SB_first'])
return ret


Expand Down Expand Up @@ -102,7 +102,7 @@ def get_daphnemodules_app(
v_bias = 0 if afe not in ext_biases else ext_biases[afe],
adc = adc if afe not in ext_adcs else to_adc(ext_adcs[afe]),
pga = pga if afe not in ext_pgas else to_pga(ext_pgas[afe]),
lna = lna if afe not in ext_lnas else to_lan(ext_lnas[afe])
lna = lna if afe not in ext_lnas else to_lna(ext_lnas[afe])
) )

channels=[]
Expand Down
2 changes: 1 addition & 1 deletion scripts/daphne_details_example.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"self_trigger_threshold" : 10,
"full_stream_channels" : [ 1, 3, 39 ],
"channels" : {
"gains" : [ {"id" : 2, "value" : 1}],
"gains" : [ {"id" : 0, "value" : 1}],
"offsets": [ {"id" : 3, "value" : 54}],
"trims" : [ {"id" : 4, "value" : 87}]
},
Expand Down
2 changes: 1 addition & 1 deletion scripts/daphne_example_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
"ers_impl": "local"
},
"daphne": {
"slots": [13,4]
"slots": [13]
}
}
Loading