Skip to content
Snippets Groups Projects
Commit a5917fe2 authored by d.bertini's avatar d.bertini
Browse files

New design using analyse steps 1 - reducing openpmd files to columnar parquet...

New design using analyse steps 1 - reducing openpmd files to columnar parquet files 2 - analysis from reduced sets to produce histograms + readme
parent bc83356d
No related branches found
No related tags found
1 merge request!2New design using analyse steps 1 - reducing openpmd files to columnar parquet...
......@@ -40,7 +40,7 @@ The code is designed to leverage parallel processing using [MPI (Message Passing
- `--output_dir` or `-o`: Directory to save the output Parquet files.
- `--species` or `-s`: Particle species name (default: "electrons").
- **Key Features**:
- **Implemented Features**:
- Traverses the specified OpenPMD directory to find relevant simulation files.
- Reads electric field data (Ex, Ey, Ez) and particle data (positions and momenta).
- Normalizes and filters particle data based on energy thresholds.
......@@ -55,11 +55,11 @@ The code is designed to leverage parallel processing using [MPI (Message Passing
- `--species` or `-s`: Particle species name (default: "electrons").
- `--analyze` or `-a`: Type of analysis to perform: 'field', 'particle', or 'full' (default: 'full').
- **Key Features**:
- **Implemented Features**:
- Initializes analyzers for field and particle data based on user input.
- Reads particle data and calculates energy, generating 2D histograms of particle distributions.
- Reads particle data and calculates energy, generating 2D/1D histograms of particle distributions.
- Analyzes divergence of particle momenta.
- Reads electric field data and generates visualizations.
- Reads electric/magnetic field data and generates visualizationsin any 2D projections located in the middle of the non-visible direction.
## Requirements
......@@ -135,7 +135,6 @@ mpirun -np <num_processes> python opmd_pq_reader.py -d <parquet_directory> -o <o
- `particle`: Analyze only the particle data.
- `full`: Perform both field and particle analyses (default).
### Examples
- To filter data from a specific OpenPMD file:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment