SourceModel

class SourceModel(sourceModel)[source]

Bases: object

A class for the SourceModel enumeration.

Attributes Summary

DISK

GAUSSIAN

POINT

Methods Summary

from_int(i)

Return a SourceModel from an integration matching an enumeration.

getName()

Return the name of this enumeration.

getValue()

Return the integer value of this enumeration.

literal(name)

Return the SourceModel enumerator value given a string

name(sourceModel)

Returns the string form of sourceModel

names()

Return the list of all known SourceModel enumeration names

newSourceModel(name)

Equivalent to the literal method

revision()

revision as a string.

size()

the number of known enumerators in SourceModel

version()

the major version number as an int.

Attributes Documentation

DISK = <pyasdm.enumerations.SourceModel.SourceModel object>
GAUSSIAN = <pyasdm.enumerations.SourceModel.SourceModel object>
POINT = <pyasdm.enumerations.SourceModel.SourceModel object>

Methods Documentation

static from_int(i)[source]

Return a SourceModel from an integration matching an enumeration.

getName()[source]

Return the name of this enumeration.

getValue()[source]

Return the integer value of this enumeration.

static literal(name)[source]

Return the SourceModel enumerator value given a string

static name(sourceModel)[source]

Returns the string form of sourceModel

static names()[source]

Return the list of all known SourceModel enumeration names

static newSourceModel(name)[source]

Equivalent to the literal method

static revision()[source]

revision as a string.

static size()[source]

the number of known enumerators in SourceModel

static version()[source]

the major version number as an int.