webinterface.pages.base_pages.tab1_results module#
- webinterface.pages.base_pages.tab1_results.display_download_section(variables_quant, reset_uuid=False) None[source]#
Render the selector and area for raw data download.
- Parameters:
reset_uuid (bool, optional) – Whether to reset the UUID, by default False.
- webinterface.pages.base_pages.tab1_results.display_existing_results(variables_quant, ionmodule) None[source]#
Orchestrates the full display of quantification results in Streamlit, including plotting and interactive tabular output with styling.
- webinterface.pages.base_pages.tab1_results.generate_main_selectbox(variables_quant, selectbox_id_uuid) None[source]#
Create the selectbox for the Streamlit UI.
- webinterface.pages.base_pages.tab1_results.generate_main_slider(slider_id_uuid: str, description_slider_md: str, default_val_slider: float) None[source]#
Create a slider input.
- webinterface.pages.base_pages.tab1_results.initialize_and_filter_data(variables_quant, ionmodule)[source]#
- webinterface.pages.base_pages.tab1_results.initialize_main_data_points(all_datapoints: str, obtain_all_data_points: Callable) None[source]#
Initialize the all_datapoints variable in the session state.
- webinterface.pages.base_pages.tab1_results.initialize_main_slider(slider_id_uuid: str, default_val_slider: float) None[source]#
Initialize the slider for the main data.
We use a slider uuid and associate a defalut value with it. - self.variables_quant.slider_id_uuid - self.variables_quant.default_val_slider
- webinterface.pages.base_pages.tab1_results.offer_download(df: DataFrame, filename: str = 'quantification_results.csv') None[source]#
Adds a download button to export the displayed DataFrame as a CSV file.
- Parameters:
df (pd.DataFrame) – The DataFrame to be downloaded.
filename (str, optional) – The name of the file to download, by default “quantification_results.csv”.