Jupyter notebooks info
parent
18e49c744a
commit
c093ed7d58
39
README.md
39
README.md
|
@ -52,11 +52,12 @@ pip install --user --upgrade -r requirements.txt
|
|||
|
||||
# witzit scripts
|
||||
|
||||
* `witzit-load.py` --- Load and text display a sample CSV.
|
||||
* `witzit-load.py` --- Load and text display an example MCA.
|
||||
|
||||
Development is most easily done under Jupyter with Tensorboard
|
||||
for training models. These files are in the `notebooks/` directory.
|
||||
|
||||
* `witzit-plot.ipynb` --- witzit Jupyter notebook, plotting application.
|
||||
* `witzit-predict.ipynb` --- witzit Jupyter notebook, prediction application.
|
||||
* `witzit-train.ipynb` --- witzit Jupyter notebook, training application.
|
||||
|
||||
|
@ -95,24 +96,26 @@ HOWTO USE. Getting closer...
|
|||
```
|
||||
# Example:
|
||||
debian@workstation:~/spacecruft/witzit$ ./witzit-load.py
|
||||
Tensorflow Version: 2.7.0
|
||||
Num GPUs Available: 0
|
||||
Num CPUs Available: 1
|
||||
[PhysicalDevice(name='/physical_device:CPU:0', device_type='CPU')]
|
||||
Pixel Index wavelength intensity
|
||||
0 1 186.551108 13.956667
|
||||
1 2 186.647845 9.773333
|
||||
2 3 186.744576 19.723333
|
||||
3 4 186.841300 17.223333
|
||||
4 5 186.938018 16.006667
|
||||
... ... ... ...
|
||||
8259 8260 960.998400 0.000000
|
||||
8260 8261 960.998800 0.000000
|
||||
8261 8262 960.999200 0.000000
|
||||
8262 8263 960.999600 0.000000
|
||||
8263 8264 961.000000 1454.250000
|
||||
energy (eV) 2048
|
||||
0 20.590676 0
|
||||
1 45.021816 0
|
||||
2 69.452957 0
|
||||
3 93.884097 0
|
||||
...
|
||||
1023 25013.647367 175
|
||||
1024 25038.078508 173
|
||||
1025 25062.509648 155
|
||||
1026 25086.940789 193
|
||||
...
|
||||
2047 50031.135199 1
|
||||
```
|
||||
|
||||
[8264 rows x 3 columns]
|
||||
## Jupyter Notebooks
|
||||
Run jupyter thusly:
|
||||
|
||||
```
|
||||
cd witzit/notebooks
|
||||
jupyter-lab
|
||||
```
|
||||
|
||||
# Hardware
|
||||
|
|
Loading…
Reference in New Issue