gtsimulation.common.regions#

Functions

G4Shower(PDG, E, r, v, date)

The function calls executable binary program that calculates interaction of the charged particle with the Earth's atmosphere and outputs information about secondary (albedo) particles.

abstractmethod(funcobj)

A decorator indicating abstract methods.

jit([signature_or_function, locals, cache, ...])

This decorator is used to compile a Python function into native code.

Classes

ABC()

Helper class that provides a standard way to create an ABC using inheritance.

CRParticle([r, v, T, E])

Enum(new_class_name, /, names, *[, module, ...])

Create a collection of name/value pairs.

Flux(Spectrum, Distribution[, Names, ...])

Regions(*values)

Transformer([transformer_maker])

The Transformer class is for facilitating re-using transforms without needing to re-create them.

class gtsimulation.common.regions.Regions(*values)[source]#
Galaxy = <class 'gtsimulation.common.regions._Galaxy'>#
Heliosphere = <class 'gtsimulation.common.regions._Heliosphere'>#
Magnetosphere = <class 'gtsimulation.common.regions._Magnetosphere'>#
Undefined = <class 'gtsimulation.common.regions._Undefined'>#