Skip to content

Commit

Permalink
Merge pull request #10 from DUNE-DAQ/mroda/detail_file
Browse files Browse the repository at this point in the history
Mroda/detail file
  • Loading branch information
mroda88 authored May 27, 2024
2 parents 5e39f09 + 22ae04e commit c0f56f2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
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]
}
}

0 comments on commit c0f56f2

Please sign in to comment.