pymms

Implementation of a non-numeric spacetime model with the Minkowski metric

View the Project on GitHub vgurianov/srt

1. Simulation model

    • Use-Case Model
    • Analysis Model
    • Design Model

2. Package API

    • Package Overview
    • pymms.mms module
    • pymms.resacher_instruments module
    • pymms.print_results and pymms.drawing modules

3. Experiments

    • Getting Started
    • The time dilation
    • Velosity and energy as function of momentum
    • Inertial reference frame

Getting Started

Currently, only Python 2.7 is supported.

Dependencies

The following dependency is required to install and use PyMMS:

matplotlib (>= 1.4)
for module drawing.py. We usage version 2.2.4.

1. Download to a directory

This package is intended to demonstrate the simulation code and we recommendation simple load in some directory, i.e. without installing the package.
If you have matplotlib then take PyMMS from source:

$ git clone https://github.com/vgurianov/srt.git
or Download ZIP.

You must take the package pymms and files from the experiments directory and make a directory

src/
   ├──+pymms/  
   │      └── ... modules ...  
   │
   ├── experiment1.py  
   ├── experiment2.py  
   └── experiment3.py  

You can execute experiments, for example, in the command line

$ cd src  
$ python experiment1.py  ,and etc.   

or in IDLE.

2. Use pip to install (for Python 2.7 must be pip ver.19.0.3)

Also you may install PyMMS from PyPI then dependencies install is automatic. About pip see hear.
Install PyMMS with pip:

$ python -m pip install pymms

You can find the package in the directory …\Python27\Lib\site-packages

Usage command
$ python -m pip show pymms
for more information.

For uninstall the package use command
$ python -m pip uninstall pymms

3. Install from source

Use command

$ git clone https://github.com/vgurianov/srt.git
or Download ZIP.

Install PyMMS:

$ cd src  
$ python setup.py install   (for Python 2.7.10)
or
$ pip install .  (for Python 2.7.15)

Usage command
$ python -m pip show pymms
for more information.

For uninstall the package use command
$ python -m pip uninstall pymms