pyddscat
is a Python package for interfacing to the popular scattering simulator
DDSCAT. pyddscat
provides a rich toolset to:
- Create standard
DDSCAT
scattering targets based on physical (rather than dipole dimensions) - Construct and visualize complex custom scattering targets
- Manage the job parameters found in the
ddscat.par
file - Organize iterative jobs requiring multiple targets or input parameters
- Script job submission to cluster queue managers
- Maintain profiles and defaults for deployment on platforms other than the local machine
- Load, plot and manipulate
DDSCAT
output tables - Manage the output from multiple jobs through results collections
- Work with and visualize near field results as multidimensional
numpy
arrays - Suitable for interactive or scripted use
You will need a fortran
compiler, e.g.:
mamba install -c conda-forge fortran-compiler
Then clone and install locally with pip
:
git clone [email protected]:phokaia/pyddscat.git
cd pyddscat
pip install -e .
See phokaia.gitlab.io/pyddscat.
See the example gallery.
This project is based on ScatPy and has been ported to Python 3.