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

print_results module

Description: module is printer of experimental data

Modul use packages:

class TablePrint (self, dat)

Description: class is the data print
Bases: object
def __init__(self, dat)

Name Type Description
dat Inctance of class “DataProcessing” experiment data

Attributes:

Name Type Description
dt Inctance of class “DataProcessing” experiment data

Operations:

def xt_print_simple(self) and def xtPrintPrettyTable(self)
coordinates print
print dt.x[i], dt.t[i], dt.t_acc[i]

def vel_print_simple(self)
velocity print

def eng_print_simple(self)
energy print

def fromp_print_prettytable(self) velocity and energy print

drawing module

Description: module is abuilder of plots

Module use packages:

class Visualization

Description: class Visualization is the data visualization
Bases: object
def __init__(self, dat)

Name Type Description
dat Inctance of class “DataProcessing” experiment data

Attributes:

Name Type Description
dt Inctance of class “DataProcessing” experiment data

Operations:

def trajectory(self)
Description: Track of particle
Parameters: None

def trajectory1(self)
Description: Track and curve of invariant intervals
Parameters: None

def v_from_p_function(self)
Description: velocity plot, particle velocity as function momentum
Parameters: None

def e_from_p_function(self)
Description: energy plot, particle energy as function momentum
Parameters: None