Skip to main content

LUME-Impact

Tools for using Impact-T and Impact-Z in LUME.

Documentation
Documentation

Basic usage:

from impact import Impact

# Prepare Impact object. This will call I.configure() automatically.
I = Impact('/path/to/ImpactT.in', verbose=True)

# Change some things
I.header['Np'] = 10000
I.header['Nx'] = 32
I.header['Ny'] = 32
I.header['Nz'] = 32

# Run
I.run()
...


# Plot the results
I.plot()

Summary LUME-Impact plot

# Archive all output
I.archive('test.h5')

# Plot particle phase space projection
I.particles['final_particles'].plot('z', 'pz')

openPMD-beamphysics z-pz phase space plot

Current release info

Name Downloads Version Platforms
Conda Recipe Conda Downloads Conda Version Conda Platforms

Installing lume-impact

Installing lume-impact from the conda-forge channel can be achieved by adding conda-forge to your channels with:

conda config --add channels conda-forge
conda config --set channel_priority strict

Once the conda-forge channel has been enabled, lume-impact can be installed with:

conda install lume-impact

It is possible to list all of the versions of lume-impact available on your platform with:

conda search lume-impact --channel conda-forge

Impact-T Executables

Impact-T is available through conda-forge and can be installed via:

conda create -n impact
source activate impact # or conda activate impact
# For non-MPI
conda install -c conda-forge impact-t

# For OpenMPI
conda install -c conda-forge impact-t=*=mpi_openmpi*

# For MPICH
conda install -c conda-forge impact-t=*=mpi_mpich*

After these steps, the IMPACT-T executable ImpactTexe or ImpactTexe-mpi, respectively, will be in your PATH environment variable and is thus ready to use like any regular command-line command.

Visit https://github.com/impact-lbl/IMPACT-T for these and further instructions, including those to build from source.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lume_impact-0.12.1.tar.gz (53.0 MB view details)

Uploaded Source

File details

Details for the file lume_impact-0.12.1.tar.gz.

File metadata

  • Download URL: lume_impact-0.12.1.tar.gz
  • Upload date:
  • Size: 53.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for lume_impact-0.12.1.tar.gz
Algorithm Hash digest
SHA256 e0097f8efd62abb435ef8e03d6130d859220f3200d034b25b11d1ebb9f4979cb
MD5 cb4128d25897adbf921642301e132b08
BLAKE2b-256 9463f8a93369980537ed5f4a522c7374cbc09b9ee106d9b3cc3db526d8ff2742

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.12.1 This release

1 file

0.12.0

1 file

0.11.0

1 file

0.10.2

1 file

0.10.1

1 file

0.10.0

1 file

0.9.7

1 file

0.9.6

1 file

0.9.5

1 file

0.9.4

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page