Skip to content

Commit

Permalink
Add script that allows user to generate comparison plots for differen…
Browse files Browse the repository at this point in the history
…t filters/methods, update style.css for links, update font-size in app.py
  • Loading branch information
rak183 committed Jun 25, 2019
1 parent 9d6ef7a commit edbb892
Show file tree
Hide file tree
Showing 3 changed files with 1,328 additions and 6 deletions.
35 changes: 29 additions & 6 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,16 @@ def serve_static(resource):

html.Div('''
Orbit Determinator: A python package to predict satellite orbits.''',id='subtitle'),

# html.Div(['''
# Select mode:'''], style={'fontSize': 22,'marginBottom':7},id='subtitle_mode_selection'),





html.Div(['''
Choose appropriate unit according to .csv file you are going to upload:'''], style={'fontSize': 18,'marginBottom':7},id='unit-selection'),
Choose appropriate unit according to .csv file you are going to upload:'''], style={'fontSize': 22,'marginBottom':7},id='unit-selection'),

html.Div(
dcc.Dropdown(
Expand All @@ -71,7 +79,7 @@ def serve_static(resource):
value='(km)'
)

,style={'width': 250, 'display': 'inline-block'}),
,style={'width': 250, 'display': 'inline-block', 'fontSize': 18}),



Expand All @@ -90,7 +98,7 @@ def serve_static(resource):
html.Div(['''
Select filter(for pre-processing):'''], style={'fontSize': 22,'marginBottom':7,'display': 'inline-block'},id='filter-selection'),
html.Div(['''
Select method for keplerian determination:'''], style={'fontSize': 22,'marginBottom':7,'display': 'inline-block','marginLeft':97},id='filter-selection'),
Select method for keplerian determination:'''], style={'fontSize': 22,'marginBottom':7,'display': 'inline-block','marginLeft':97},id='method-selection'),
html.Div([''' ''']),

html.Div(
Expand All @@ -105,7 +113,7 @@ def serve_static(resource):
],
value='(sg)'
)
,style={'width': 250, 'display': 'inline-block'}),
,style={'width': 250, 'display': 'inline-block', 'fontSize': 18}),


html.Div(
Expand All @@ -122,18 +130,32 @@ def serve_static(resource):
value='(ef)'
)

,style={'width': 350, 'display': 'inline-block','marginLeft': 132}),
,style={'width': 350, 'display': 'inline-block','marginLeft': 132, 'fontSize': 18}),

html.Div([''' ''']),
html.Div([''' '''],style={'display': 'inline-block'}),
html.Div([''' ''']),
html.Div([''' '''],style={'display': 'inline-block'}),
html.Div([''' ''']),



#html.Div(['''
# Input data-- Filter-- Method for keplerian determination-- Orbit of the satellite'''], style={'fontSize': 26,'marginBottom':7,'display': 'inline-block','marginLeft':470},id='filter-selection'),

#html.Div([''' ''']),
#dcc.Location(id='url', refresh=False),
#dcc.Link('Switch to comparison mode', href='/comparison_app'),
#html.Br(),
#html.Div(id='page-content'),
#html.Div([''' ''']),
#html.Div([''' '''],style={'display': 'inline-block'}),
#html.Div([''' ''']),







html.Div(id='output-container',style={'fontSize': 0,'marginBottom':15}),
Expand All @@ -160,7 +182,8 @@ def serve_static(resource):

@app.callback(
dash.dependencies.Output('output-container', 'children'),
[dash.dependencies.Input('my-dropdown', 'value')])
[dash.dependencies.Input('my-dropdown', 'value')])



def update_output(value):
Expand Down
Loading

0 comments on commit edbb892

Please sign in to comment.