dataViz is a GUI for visualizing data and quick spectral analysis.
The following Python packages are required for this GUI:
- PyQt5
- pyqtgraph
- scipy
- pandas
- numpy
- Run the python file "dataViz/run.py". The main application window should appear.
- Click "Browse data directory" and choose the directory of choice containing the data. This directory can be an overall directory or year, month, or data subdirectories. For example, you can either choose "sample_data", "sample_data/2006", "sample_data/2006/01_January", or "sample_data/2006/01_January/2016_01_08". Depending on the choice, the application will list the subdirectories available.
- Choose the subdirectory by double-clicking the option. You can always choose a different dictories by double-clicking, and the subdirectories will be updated.
- Once you choose the date directory, the application will list the shots. Select one or more shots and click "Load".
- Choose shot(s) in the "Loaded Shot" list and the channel(s) in the "Channel" list, and click "Plot" button. A window will appear with the plot.
- You can specify the parameters such as smoothing, DC cancel, and so on.
- All the channels chosen will be plotted together.
- If you wish to plot different data in a different plot on the same window, choose the window in the "Window" list and select a blank cell in the "Plot Layout", before clicking "Plot".
- Different plots can be synchronize in the X-, Y-, or both axes by selecting them in the "Plot Layout" and clicking "Link X", "Link Y", or "Link XY", respectively.
- Choose a shot and a channel and click "PSD". A PSD and raw signal will be plotted.
- You can change the region to perform PSD by changing the region of interest in the raw data plot.
- Parameters can also be changed, such as detrend, nperseg, and overlap.
- Choose a shot and two channels and click "CSD". Cross spectral density, coherence, phase, and raw data will be displayed.
- You can change the region by adjusting the region of interest in the raw data.