Command Line Interface

Apart from the Python API, pylimer-tools provides a command line interface (CLI) for various functionalities. This allows you to perform tasks directly from the terminal without writing Python scripts.

Network Generation

Generate crosslinked polymer networks using Monte Carlo procedures.

Network Analysis

Analyze existing polymer networks to compute structural properties.

pylimer-analyse-networks

Basic CLI application reading all passed files, outputting some stats on the structures therein

Arguments:
  • files: list of files to read

Usage

pylimer-analyse-networks [OPTIONS] [FILES]...

Options

--crosslinker-type <crosslinker_type>
--polymer-name <polymer_name>

Name of the polymer to use for parameter retrieval.

Options:

pi75 | app | apea | cispi | pet | spp | app413 | pi34 | pi50 | pe | pib | app463 | apmma | pbd98 | pe413 | aps | cispbd | apams | pbd20 | pom | pib413 | peo | p6n | pi7 | ptfe | pi20 | app348 | pc | apma | sbr | pdms | apoa | apva | ipp | aphma | ips

Arguments

FILES

Optional argument(s)

LAMMPS Data Statistics

Compute basic statistics from LAMMPS data files.

pylimer-basic-lammps-stats

Basic CLI application reading all passed files, outputting some stats on the structures therein

Arguments:
  • files: list of files to read

Usage

pylimer-basic-lammps-stats [OPTIONS] [FILES]...

Arguments

FILES

Optional argument(s)

Random Displacement

Randomly displace atoms in a structure file.

pylimer-displace-randomly

Basic CLI application iterating all atoms in a file, displacing them by a bit.

Arguments:
  • file: The file to read (and write, with prefix “random-displaced-“)

  • max_displacement: The maximum displacement

Usage

pylimer-displace-randomly [OPTIONS] FILE [MAX_DISPLACEMENT]

Arguments

FILE

Required argument

MAX_DISPLACEMENT

Optional argument