Commit dfd45a41 authored by sarrvesh's avatar sarrvesh

do not show image noise in beamformed mode

parent 0200af3a
......@@ -51,7 +51,10 @@ app.title = 'LUCI - LOFAR Unified Calculator for Imaging'
Output('nRingsRowL', 'style'),
Output('pipeTypeRow', 'options'),
Output('pipeTypeRow', 'value')
Output('pipeTypeRow', 'value'),
Output('imNoiseRowL', 'style'),
Output('imNoiseRow', 'style')
],
[Input('obsModeRow', 'value')]
)
......@@ -67,12 +70,14 @@ def toggle_obs_mode(obs_value):
return {'display':'none'}, {'display':'none'}, {'display':'none'}, 'Incoherent', \
{'display':'none'}, {'display':'none'}, {'display':'none'}, \
{'display':'none'}, {'display':'none'}, {'display':'none'}, \
valid_pipes, 'none'
valid_pipes, 'none', \
{'display':'block'}, {'display':'block'}
else:
return {}, {'display':'block'}, {'display':'block'}, 'Incoherent', \
{}, {'display':'block'}, {'display':'block'}, \
{}, {'display':'block'}, {'display':'block'}, \
valid_pipes, 'none'
valid_pipes, 'none', \
{'display':'none'}, {'display':'none'}
################################################
# Show TAb stokes fields based on dropdown value
......
......@@ -358,7 +358,8 @@ pipeGUIFrame = html.Div(children=[
# Layout of the results tab
###############################################################################
imNoise = dbc.FormGroup([
dbc.Label('Theoretical image sensitivity (uJy/beam)', width=labelWidth),
dbc.Label('Theoretical image sensitivity (uJy/beam)', width=labelWidth,
id='imNoiseRowL'),
dbc.Col(
dbc.Input(type='text', id='imNoiseRow', value='',
disabled=True
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment