atmos:citation:research:using_the_particle_by_particle_viewer_pbp_viewer.py
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
atmos:citation:research:using_the_particle_by_particle_viewer_pbp_viewer.py [2024/08/21 17:33] – created klinman | atmos:citation:research:using_the_particle_by_particle_viewer_pbp_viewer.py [2024/08/23 15:29] (current) – klinman | ||
---|---|---|---|
Line 7: | Line 7: | ||
The programs itself only works if *.pbp.nc files produced by SODA, and *.pbp.nc files altered using the PBP_Viewer program. Not tested for other file types, but if you have another file type thats in the 1D (super long array) particle by particle format, feel free to give it a try and hopefully it works. If you have any questions in the next two or three years (currently 2024) feel free to ask and I might be able to help update the program to work with the different pbp file. | The programs itself only works if *.pbp.nc files produced by SODA, and *.pbp.nc files altered using the PBP_Viewer program. Not tested for other file types, but if you have another file type thats in the 1D (super long array) particle by particle format, feel free to give it a try and hopefully it works. If you have any questions in the next two or three years (currently 2024) feel free to ask and I might be able to help update the program to work with the different pbp file. | ||
- | Pictures will be included here. To open the program, run it using python. Either an IDE such as Spyder (maybe pycharm), or from the command line in an environment that can use python. From spyder I use e.g. runfile(' | + | Pictures will be included here. |
+ | * To open the program, run it using python. Either an IDE such as Spyder (maybe pycharm), or from the command line in an environment that can use python. From spyder I use e.g. runfile(' | ||
+ | * For a list of particle characteristics to look at using the program SEE AARONS BANSEMERS MANUAL ON SODA LINK HERE. | ||
+ | * To navigate the program, pictures will be included with graphics explaining. They' | ||
+ | |||
+ | {{: | ||
+ | - Circle 1: This is where the filters live. Selecting the dropdown menu allow you to select which filter you want to apply. (Currently has " | ||
+ | - Circle 2: Where the particle is displayed. The image is scaled (x and y dimension-wise) and flipped upside down to match the images on the SODA buffers. | ||
+ | - Circle 3: Buttons to move backward "<<", | ||
+ | - Circle 4: Contains the particle data. For the particle image on the screen, the matching particle data is presented. By using the dropdown menu' | ||
+ | - Circle 5: This is where the particle sorter is. When opened, it allows you to categorize particles. | ||
+ | |||
+ | {{: | ||
+ | - Circle 1: Dropdown menu to select which time filter you want to use. This image shows the time filter. | ||
+ | - Circle 2: | ||
+ | - Using the bottom entry box and button labeled " | ||
+ | - The top entry box uses the time provided to search through the pbp file and finds the first particle (that passes any other set filters) most closely matches the provided time. | ||
+ | |||
+ | {{: | ||
+ | - Circle 1: Showing the time filter in use. | ||
+ | - Circle 2: Whene the " | ||
+ | |||
+ | {{: | ||
+ | - Circle 1: To use the diameter filter, use the dropdown menu to select " | ||
+ | - Circle 2: Leading off of the particle at 87510 shown in the previous image, the diameter filter searched the pbp file for the next particle that met the requirement of 5000 um. The new particle is shown, and it's diameter is 5509.31 um. The program had to skip ahead by ~0.3 seconds to find this particle. | ||
+ | |||
+ | {{: | ||
+ | * Click to open particle sorter. The particle sorter is designed to specify categories to organize particles into and save to the pbp file that is open in the program. This means it adds a variable to the netcdf file. The exact format is still being developed. | ||
+ | |||
+ | {{: | ||
+ | * "File and Commands": | ||
+ | * "Click for warning": | ||
+ | * "add row": Adds a row to name or load a category and sets up the categorization buttons. | ||
+ | * " | ||
+ | |||
+ | {{: | ||
+ | * Here you can see that three rows/ | ||
+ | * All the categories automatically start out with a value of -1. -1 means the particle is uncategorized. If you click " | ||
+ | * When you toggle the bindings (with the " | ||
+ | * HOW THE DATA IS SAVED. | ||
+ | * Once the particle is categorized to your satisfaction, | ||
+ | |||
+ | |||
+ | |||
+ | Troubleshooting section? | ||
+ | A note to include when finishing this guide. Should just work on linux. windows has issue with opening files as r+ which allows edits to made to the file which is what happens with the sorter. Making a copy of the file and running the program with the copy seemed to fix that issue. Looked like both the original and copy files had write permissions so im not sure what exactly the problem was. |
atmos/citation/research/using_the_particle_by_particle_viewer_pbp_viewer.py.1724261630.txt.gz · Last modified: 2024/08/21 17:33 by klinman