Skip to content
Snippets Groups Projects
common.py 847 B
Newer Older
  • Learn to ignore specific revisions
  • DIANE's avatar
    DIANE committed
    # """This package provides a complete workflow to users how want to proced to NIRS analysis without particular knowledge.
    
    # This is a webapp with Streamlit.
    # GUI shows whatever is needed for Samples Selection based on NIRS spectra and then, to compute a model to predict
    #     chemical values on your samples.
    
    # Examples:
    #     streamlit run ./app.py
    # """
    # ##
    
    import streamlit as st
    from pathlib import Path
    
    
    DIANE's avatar
    UI  
    DIANE committed
    css_file = Path("style/style_model.css")
    
    DIANE's avatar
    DIANE committed
    pages_folder = Path("pages/")
    
    DIANE's avatar
    UI  
    DIANE committed
    image_path = Path('./images/img-sky.jpg')
    
    DIANE's avatar
    DIANE committed
    
    
    
    from utils.data_parsing import JcampParser, CsvParser
    
    DIANE's avatar
    UI  
    DIANE committed
    from style.layout import  UiComponents
    
    DIANE's avatar
    DIANE committed
    from utils.data_handling import *
    from utils.data_parsing import *
    from utils.hash import *
    from utils.visualize import *
    from utils.miscellaneous import ObjectHash
    from utils.samsel import RDM, KS
    from report import report