Skip to content

benvial/pyddscat

Repository files navigation

Release Release

pyddscat -- A Python interface to DDSCAT

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

Installation

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 .

Documentation

See phokaia.gitlab.io/pyddscat.

Examples

See the example gallery.

Acknowledgement

This project is based on ScatPy and has been ported to Python 3.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published