Skip to content
Kushaal Kumar Pothula edited this page Apr 3, 2021 · 2 revisions

There are two methods of running MAGNETO: Default and Custom.

Default Method

In the default method, MAGNETO uses default values of physical parameters. To run MAGNETO with default physical parameters, execute the following command in the terminal:

> bash run.sh

Custom Method

In the custom method, you can provide values for the physical parameters of the magnetar. To get help with the input options, use the -h flag:

> python energy_evol_modular.py -h
  usage: energy_evol_modular.py [-h] E [E ...] a [a ...]

Simulate flaring activity of a magnetar using the Monte Carlo method.

positional arguments:
  E           Total magetic energy of the magnetar
  a           Power of time in energy-time relation, known as alpha

optional arguments:
  -h, --help  show this help message and exit```
Clone this wiki locally