- Go to the fp_analysis folder on Onedrive. Contact Yue if you can't access it.
- Download fp_analysis_app_vx.zip (the "x" in the suffix "vx" denotes the current version). Note that if you unzip it to the same location where the zip file is, you may end up with a nested folder, ie., a "fp_analysis_app_vx" inside a "fp_analysis_app_vx". If this is the case , it may be better to peel it and move the inner "fp_analysis_app_vx" somewhere else and delete the outer "fp_analysis_app_vx".
- Examine the content of the unzipped "fp_analysis_app_vx". It should contain three folders and an .exe file: 1) _internal, 2) fp_analysis_app, and 3) run_fp_analysis_app.exe.
To open the app, double click "run_fp_analysis_app.exe" and it will open the app's home page in a tab in your web browser. You don't need internet connection to run the app. The app only uses the web browser as the interface.
Click "Click here to select File". After you select a file, the app will briefly validate the file selected and then show you the figures of the the signals. Once the figures are shown, you can navigate and zoom in or out on the figures.
Zooming is done by scrolling your mouse around the center of interest. Navigation can be done using the left/right arrow key or just dragging the figure. To zoom or navigate along X-Axis only, move your cursor to the last figure and then operate. To zoom in or navigate along Y-Axis only, move your cursor to the left edge of the figure of interest and operate.
- When adding a second or removing a second signal, clicking Show Results may not update the results even when the analyses are done (indicated by the Show Results button becomes available again), when this happens, switch to any other tab. That should help update the results. Fix to this issue is in progress.
The input files to the app must be .mat (matlab) files preprocessed using sleep_data_preprocessing_app (although called sleep data, it also works with fp data), and contain the following fields.
| Field Name | Data Type |
|---|---|
| fp_signal_names | N x 1 string |
| fp_frequency | float |
| signal_A | 1 x N single |
| ... | 1 x N single |
Explanations
- signal_A is just an example name for a fp signal. You can name it by its real signal name such as NE, but it must be listed as a name in fp_signal_names, in order to be visualized by the app.