You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

spark3d-batch

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

spark3d-batch

Launch SPARK3D simulations by batch; list of powers or accelerating fields.

0.1.5
pipPyPI
Maintainers
1

Spark3DBatch

Python library to launch (batch) Spark3D simulations. SPARK3D versions > 2016 should be supported, but last tests were done on SPARK3D 2025 SP4.

Installation

  • Create a dedicated Python environment, activate it.
  • Run pip install spark3d-batch.

[!NOTE] If you are completely new to Python and these instructions are unclear, check this tutorial. In particular, you will want to:

  • Set the environment variable $SPARK3DPATH to point to the folder containing the SPARK3D executable. In general, adding the following line to your .bashrc will do the trick:
    export SPARK3DPATH="/opt/cst/CST_Studio_Suite_20XX/SPARK3D/"
    

[!IMPORTANT] Not tested on Windows.

Usage

Two options:

  • Provide a SPKX file,
  • Provide a XML file and a field map.
    • XML can be generated by unzipping a SPKX file, allowing you to modify the simulation parameters with a script.
    • Field maps can be F3E, DSP or MFE.

To-do

Important

  • Allow for control over accelerating field instead of power
  • Change how the path to SPARK3D is declared. Currently not robust at all.

Secondary

  • Package test data

Tertiary

  • Complete installation instructions
  • Static typing to detect allowed keys in XML
  • CLI interface
  • On pip
  • Tests
  • Use logging instead of printc
  • Add release.py

Keywords

post treatment

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts