modest.spacecraft package

Submodules

modest.spacecraft.chandra module

class modest.spacecraft.chandra.Chandra(userData, ureg, tStartOffset=0)[source]

Bases: object

class modest.spacecraft.chandra.ChandraDetector(eventsFileList, userData, ureg)[source]

Bases: object

getPhotonMeasurement(index)[source]
FOV = None

Detector field of view in degrees (half-cone angle)

TOA_StdDev = None

Standard deviation of arrival time measurements. Depending on user input, this can be modeled as a uniform distribution (over the time resolution of the detector) or as a normal distribution with standard deviation specified by user.

area = None

Detector effective area in square centimeters

photonEnergyVar = None

Stores the expected variance of the photon energy measurement. Since photon energy measurements are truncated to integers we use the uniform distribution

photonXUnits = None

Units of photon x angle of arrival measurements

photonYUnits = None

Units of photon y angle of arrival measurements

pixelResolutionX = None

Pixel resolution of the detector’s x angle of arrival measurements

pixelResolutionY = None

Pixel resolution of the detector’s y angle of arrival measurements

timeConversionFactor = None

Factor to multiply arrival times by to get correct values in units of seconds

timeOfArrivalUnits = None

Photon time-of-arrival units

timeResolution = None

Photon time of arrival resolution

class modest.spacecraft.chandra.ChandraDynamics(ephemFileList, aspectFileList, gyroFileList, userData, ureg, tStart)[source]

Bases: object

acceleration(t)[source]
attitude(t, returnQ=True)[source]
chandraTimeToTimeScaleObj(chandraTime)[source]

See http://cxc.harvard.edu/contrib/arots/time/time_tutorial.html for information

omega(t)[source]
position(t)[source]
velocity(t)[source]

modest.spacecraft.simulation module

class modest.spacecraft.simulation.SimulatedDetector(userData, ureg)[source]

Bases: object

class modest.spacecraft.simulation.SimulatedDynamics(userData, ureg)[source]

Bases: object

acceleration(t)[source]
attitude(t, returnQ=True)[source]
getRangeFunction(unitVector, tFinal)[source]
initialAttitudeRotationMatrix()[source]
omega(t)[source]
position(t)[source]
velocity(t)[source]
class modest.spacecraft.simulation.SimulatedOrbitalDynamics(userData, ureg)[source]

Bases: object

acceleration(time)[source]
attitude(t, returnQ=True)[source]
forwardTimePropagation(tFinal)[source]
getRangeFunction(unitVector, tFinal)[source]
getTimeScaleObject(time)[source]
gradient(time)[source]
initialAttitudeRotationMatrix()[source]
omega(t)[source]
position(time)[source]
velocity(time)[source]
class modest.spacecraft.simulation.SimulatedSpacecraft(userData, ureg)[source]

Bases: object

Module contents

class modest.spacecraft.Chandra(userData, ureg, tStartOffset=0)[source]

Bases: object

class modest.spacecraft.SimulatedSpacecraft(userData, ureg)[source]

Bases: object