Installing Protomix¶
!pip install protomix
Import packages¶
1import numpy as np
2import pandas as pd
3import time
4
5import protomix as px
6
7import seaborn as sns
8import matplotlib.pyplot as plt
9from plotly.subplots import make_subplots
10import plotly.graph_objects as go
11import plotly.io as pio
12from sklearn.decomposition import PCA
13
14pio.templates.default = "plotly_white"
Downloading the dataset from Zenodo link¶
!wget -O NMRDataset.zip https://zenodo.org/record/13467227/files/NMRDataset.zip?download=1
Unzipping the downloaded dataset¶
!unzip NMRDataset.zip
main_directory = r'/content/spectra'
Caution
Directory where the Bruker data are located, please keep the same Bruker directory format.