mocca.user_interaction namespace
Submodules
mocca.user_interaction.campaign module
Created on Mon Dec 13 09:05:19 2021
@author: haascp
- class mocca.user_interaction.campaign.HplcDadCampaign(autosave_path=None)[source]
Bases:
object
Main class for HPLC-DAD campaigns containing all user input as well as results from the data analysis.
- add_hplc_input(hplc_input)[source]
All reaction concentration are metadata and should be trated like reaction temperature etc. Only give compound_conc if standard. If compound_id given: Add new peak to component db and update it If conc given: Add peak to quanti_component with same compound_id and update Store user input concs as negative conc in peak
- load_campaign(path='hplc_dad_campaign.pkl')[source]
Loads campaign object which was saved as pkl file.
- process_all_hplc_input(settings)[source]
This function sets all expeirments of the cmapaign to the unprocessed state and processes all given hplc input. NOTE: This function has to be run if a new compound is added to the component database via compound experiment so that all peaks are assigned consistently
mocca.user_interaction.settings module
Created on Tue Dec 21 14:57:25 2021
@author: haascp
- class mocca.user_interaction.settings.Settings(hplc_system_tag: str, detector_limit: float | None = None, absorbance_threshold: float | None = 500, wl_high_pass: float | None = None, wl_low_pass: float | None = None, peaks_high_pass: float | None = None, peaks_low_pass: float | None = None, spectrum_correl_thresh: float | None = 0.95, relative_distance_thresh: float | None = 0.01)[source]
Bases:
object
Data container to store all user given data analysis settings.
mocca.user_interaction.suggest_calibration module
Created on Tue Jan 25 09:10:24 2022
@author: haascp
mocca.user_interaction.user_objects module
Created on Tue Jan 25 10:46:55 2022
@author: haascp
- class mocca.user_interaction.user_objects.Compound(key: str, conc: float | None = None, is_solvent: bool = False, is_istd: bool = False)[source]
Bases:
object
Data container to store user input regarding added compounds.
- class mocca.user_interaction.user_objects.CustomData(data: ndarray, time: list, wavelength: list)[source]
Bases:
object
Data container to store custom data like, e.g., from HPLC chromatogram simulations.
- class mocca.user_interaction.user_objects.Gradient(path: str)[source]
Bases:
object
Data container to store user input regarding gradients.
- dataset: GradientData
- class mocca.user_interaction.user_objects.HplcInput(path: str, gradient: Gradient | None, compound: Compound | None = None, istd: List[InternalStandard] | None = None, processed: bool = False, custom_data: CustomData | None = None)[source]
Bases:
object
Data container to store user input.
- custom_data: CustomData = None
- istd: List[InternalStandard] | None = None