aboutsummaryrefslogtreecommitdiff
path: root/Examples/Modules/resampling/analysis_leveling_thinning.py (follow)
AgeCommit message (Collapse)AuthorFilesLines
2022-12-02Clean up examples folders (#3545)Gravatar Edoardo Zoni 1-141/+0
* Clean up examples folders * Use `snake_case` names * Rename `nci_corrector` as `nci_fdtd_stability`
2021-12-21pre-commit: Python imports (#2686)Gravatar Axel Huebl 1-2/+4
* pre-commit: Python imports Add two new Python rules to: - remove unused imports - sort imports according to PEP8 * pre-commit: Python imports Add two new Python rules to: - remove unused imports - sort imports according to PEP8 `.editorconfig`: isort options https://github.com/PyCQA/isort/wiki/isort-Settings * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * move import os (mpl) * move import yt (mpl) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Cleanup around matplotlib.use * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Cleaning: double np and lib Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2021-12-16Generalize Analysis Scripts: Number of Digits (plt) (#2683)Gravatar Axel Huebl 1-1/+2
* Update Scripts to Handle New File Names * Use glob in Analysis of Collision Tests * Use rstrip in Analysis of Collision Tests * Regex: Match ends-in-digits Thanks Phil! :) Co-authored-by: Edoardo Zoni <ezoni@lbl.gov> Co-authored-by: Phil Miller <unmobile+gh@gmail.com>
2021-12-15Examples: Python ShellBang & Executable (#2673)Gravatar Axel Huebl 1-1/+1
* Examples: Python ShellBang & Executable Make sure that all PICMI scripts and all analysis Python scripts in `Examples/` are: - executable (`chmod a+x`) - start with a shell-bang to `python3` Now, all scripts can be run directly without a `python3 ...` prefix and also default to the only right executable of Python on older systems. (New systems always have a `python3` alias, too.) * Revert a moved numpy
2021-03-01Add CI coverage for the plotfile particle filters (#1645)Gravatar NeilZaim 1-4/+4
* Add CI coverage for the plotfile particle filter function * Minor fix in analysis script * Test all 3 particle filters in 2D/3D/RZ * Dirty trick to deal with same ID from multiple MPI ranks + enforce 100 characters per line rule * Fix CI when running on a single MPI rank * Add new module to avoid duplicate code
2020-09-25Add CI test and documentation for leveling thinning algorithm (#1327)Gravatar NeilZaim 1-0/+138
* First working version of tests * Add comments to test * Add test in WarpX-test.ini and initial checksum json file * Add resampling to input parameters doc * Uncomment lines about checksum in analysis script + Fix minor typos * Add momentum in plotfiles (for checksum) + Fix minor typoes * Remove particle_theta from checksum json file * Remove rho from checksum json file * Fix syntax error in checksum json file * Add benchmark values * Update Docs/source/running_cpp/parameters.rst Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja> * Have one Resampling object per species Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>