ASDM

class ASDM[source]

Bases: object

The ASDM class is the container for all tables. Its instantation create a complete set of tables.

Adapted from the Java and c++ code.

Generated from model’s revision -1, branch

Methods Summary

addTableRowToXML(xmlstr, atable)

Appends the XML row for the given table to the given XML string, returning the new XML string.

fromXML(xmlstr)

Parses the XML representation of an ASDM stored in a string and fills this (supposedly empty) with the result of the parsing.

getAlmaRadiometer()

Get the AlmaRadiometer table.

getAnnotation()

Get the Annotation table.

getAntenna()

Get the Antenna table.

getCalAmpli()

Get the CalAmpli table.

getCalAntennaSolutions()

Get the CalAntennaSolutions table.

getCalAppPhase()

Get the CalAppPhase table.

getCalAtmosphere()

Get the CalAtmosphere table.

getCalBandpass()

Get the CalBandpass table.

getCalCurve()

Get the CalCurve table.

getCalData()

Get the CalData table.

getCalDelay()

Get the CalDelay table.

getCalDevice()

Get the CalDevice table.

getCalFlux()

Get the CalFlux table.

getCalFocus()

Get the CalFocus table.

getCalFocusModel()

Get the CalFocusModel table.

getCalGain()

Get the CalGain table.

getCalHolography()

Get the CalHolography table.

getCalPhase()

Get the CalPhase table.

getCalPointing()

Get the CalPointing table.

getCalPointingModel()

Get the CalPointingModel table.

getCalPosition()

Get the CalPosition table.

getCalPrimaryBeam()

Get the CalPrimaryBeam table.

getCalReduction()

Get the CalReduction table.

getCalSeeing()

Get the CalSeeing table.

getCalWVR()

Get the CalWVR table.

getConfigDescription()

Get the ConfigDescription table.

getCorrelatorMode()

Get the CorrelatorMode table.

getDataDescription()

Get the DataDescription table.

getDelayModel()

Get the DelayModel table.

getDelayModelFixedParameters()

Get the DelayModelFixedParameters table.

getDelayModelVariableParameters()

Get the DelayModelVariableParameters table.

getDirectory()

returns the directory used in the setFromFile call.

getDoppler()

Get the Doppler table.

getEntity()

getEphemeris()

Get the Ephemeris table.

getExecBlock()

Get the ExecBlock table.

getFeed()

Get the Feed table.

getField()

Get the Field table.

getFlag()

Get the Flag table.

getFlagCmd()

Get the FlagCmd table.

getFocus()

Get the Focus table.

getFocusModel()

Get the FocusModel table.

getFreqOffset()

Get the FreqOffset table.

getFromXML(directory)

Get an ASDM dataset, given the full path name of the directory containing the XML version of the dataset.

getGainTracking()

Get the GainTracking table.

getHistory()

Get the History table.

getHolography()

Get the Holography table.

getMain()

Get the Main table.

getObservation()

Get the Observation table.

getPointing()

Get the Pointing table.

getPointingModel()

Get the PointingModel table.

getPolarization()

Get the Polarization table.

getProcessor()

Get the Processor table.

getPulsar()

Get the Pulsar table.

getReceiver()

Get the Receiver table.

getSBSummary()

Get the SBSummary table.

getScale()

Get the Scale table.

getScan()

Get the Scan table.

getSeeing()

Get the Seeing table.

getSource()

Get the Source table.

getSpectralWindow()

Get the SpectralWindow table.

getSquareLawDetector()

Get the SquareLawDetector table.

getState()

Get the State table.

getStation()

Get the Station table.

getSubscan()

Get the Subscan table.

getSwitchCycle()

Get the SwitchCycle table.

getSysCal()

Get the SysCal table.

getSysPower()

Get the SysPower table.

getTable(tableName)

Get the table by name.

getTimeOfCreation()

Get timeOfCreation.

getTotalPower()

Get the TotalPower table.

getVLAWVR()

Get the VLAWVR table.

getVersion()

Get version.

getWVMCal()

Get the WVMCal table.

getWeather()

Get the Weather table.

getXmlnsPrefix()

Get xmlnsPrefix.

setEntity(e)

setFromFile(directory)

Reads and parses a collection of files as those produced by the toFile method.

setTimeOfCreation(timeOfCreation)

Set timeOfCreation with the specified ArrayTime value.

setVersion(version)

Set version with the specified int value.

setXmlnsPrefix(xmlnsPrefix)

Set xmlnsPrefix with the specified str value.

status()

toFile(directory)

Write this ASDM dataset to the specified directory as a collection of files.

toXML()

Produces the XML representation of this.

Methods Documentation

addTableRowToXML(xmlstr, atable)[source]

Appends the XML row for the given table to the given XML string, returning the new XML string.

fromXML(xmlstr)[source]

Parses the XML representation of an ASDM stored in a string and fills this (supposedly empty) with the result of the parsing. param xmlstr The XML of the ASDM as a string.

getAlmaRadiometer()[source]

Get the AlmaRadiometer table. return The table AlmaRadiometer as a AlmaRadiometerTable.

getAnnotation()[source]

Get the Annotation table. return The table Annotation as a AnnotationTable.

getAntenna()[source]

Get the Antenna table. return The table Antenna as a AntennaTable.

getCalAmpli()[source]

Get the CalAmpli table. return The table CalAmpli as a CalAmpliTable.

getCalAntennaSolutions()[source]

Get the CalAntennaSolutions table. return The table CalAntennaSolutions as a CalAntennaSolutionsTable.

getCalAppPhase()[source]

Get the CalAppPhase table. return The table CalAppPhase as a CalAppPhaseTable.

getCalAtmosphere()[source]

Get the CalAtmosphere table. return The table CalAtmosphere as a CalAtmosphereTable.

getCalBandpass()[source]

Get the CalBandpass table. return The table CalBandpass as a CalBandpassTable.

getCalCurve()[source]

Get the CalCurve table. return The table CalCurve as a CalCurveTable.

getCalData()[source]

Get the CalData table. return The table CalData as a CalDataTable.

getCalDelay()[source]

Get the CalDelay table. return The table CalDelay as a CalDelayTable.

getCalDevice()[source]

Get the CalDevice table. return The table CalDevice as a CalDeviceTable.

getCalFlux()[source]

Get the CalFlux table. return The table CalFlux as a CalFluxTable.

getCalFocus()[source]

Get the CalFocus table. return The table CalFocus as a CalFocusTable.

getCalFocusModel()[source]

Get the CalFocusModel table. return The table CalFocusModel as a CalFocusModelTable.

getCalGain()[source]

Get the CalGain table. return The table CalGain as a CalGainTable.

getCalHolography()[source]

Get the CalHolography table. return The table CalHolography as a CalHolographyTable.

getCalPhase()[source]

Get the CalPhase table. return The table CalPhase as a CalPhaseTable.

getCalPointing()[source]

Get the CalPointing table. return The table CalPointing as a CalPointingTable.

getCalPointingModel()[source]

Get the CalPointingModel table. return The table CalPointingModel as a CalPointingModelTable.

getCalPosition()[source]

Get the CalPosition table. return The table CalPosition as a CalPositionTable.

getCalPrimaryBeam()[source]

Get the CalPrimaryBeam table. return The table CalPrimaryBeam as a CalPrimaryBeamTable.

getCalReduction()[source]

Get the CalReduction table. return The table CalReduction as a CalReductionTable.

getCalSeeing()[source]

Get the CalSeeing table. return The table CalSeeing as a CalSeeingTable.

getCalWVR()[source]

Get the CalWVR table. return The table CalWVR as a CalWVRTable.

getConfigDescription()[source]

Get the ConfigDescription table. return The table ConfigDescription as a ConfigDescriptionTable.

getCorrelatorMode()[source]

Get the CorrelatorMode table. return The table CorrelatorMode as a CorrelatorModeTable.

getDataDescription()[source]

Get the DataDescription table. return The table DataDescription as a DataDescriptionTable.

getDelayModel()[source]

Get the DelayModel table. return The table DelayModel as a DelayModelTable.

getDelayModelFixedParameters()[source]

Get the DelayModelFixedParameters table. return The table DelayModelFixedParameters as a DelayModelFixedParametersTable.

getDelayModelVariableParameters()[source]

Get the DelayModelVariableParameters table. return The table DelayModelVariableParameters as a DelayModelVariableParametersTable.

getDirectory()[source]

returns the directory used in the setFromFile call. This directory is used when the tables are first retrieved if they need to be loaded (on demand). This returns None if the directory has not yet been set.

getDoppler()[source]

Get the Doppler table. return The table Doppler as a DopplerTable.

getEntity()[source]
getEphemeris()[source]

Get the Ephemeris table. return The table Ephemeris as a EphemerisTable.

getExecBlock()[source]

Get the ExecBlock table. return The table ExecBlock as a ExecBlockTable.

getFeed()[source]

Get the Feed table. return The table Feed as a FeedTable.

getField()[source]

Get the Field table. return The table Field as a FieldTable.

getFlag()[source]

Get the Flag table. return The table Flag as a FlagTable.

getFlagCmd()[source]

Get the FlagCmd table. return The table FlagCmd as a FlagCmdTable.

getFocus()[source]

Get the Focus table. return The table Focus as a FocusTable.

getFocusModel()[source]

Get the FocusModel table. return The table FocusModel as a FocusModelTable.

getFreqOffset()[source]

Get the FreqOffset table. return The table FreqOffset as a FreqOffsetTable.

static getFromXML(directory)[source]

Get an ASDM dataset, given the full path name of the directory containing the XML version of the dataset. @param xmlDirectory The full path name of the directory containing this dataset. return The complete dataset that belongs to the container in this directory. raises ConversionException If any error occurs reading the files in the directory or in converting the tables from XML.

getGainTracking()[source]

Get the GainTracking table. return The table GainTracking as a GainTrackingTable.

getHistory()[source]

Get the History table. return The table History as a HistoryTable.

getHolography()[source]

Get the Holography table. return The table Holography as a HolographyTable.

getMain()[source]

Get the Main table. return The table Main as a MainTable.

getObservation()[source]

Get the Observation table. return The table Observation as a ObservationTable.

getPointing()[source]

Get the Pointing table. return The table Pointing as a PointingTable.

getPointingModel()[source]

Get the PointingModel table. return The table PointingModel as a PointingModelTable.

getPolarization()[source]

Get the Polarization table. return The table Polarization as a PolarizationTable.

getProcessor()[source]

Get the Processor table. return The table Processor as a ProcessorTable.

getPulsar()[source]

Get the Pulsar table. return The table Pulsar as a PulsarTable.

getReceiver()[source]

Get the Receiver table. return The table Receiver as a ReceiverTable.

getSBSummary()[source]

Get the SBSummary table. return The table SBSummary as a SBSummaryTable.

getScale()[source]

Get the Scale table. return The table Scale as a ScaleTable.

getScan()[source]

Get the Scan table. return The table Scan as a ScanTable.

getSeeing()[source]

Get the Seeing table. return The table Seeing as a SeeingTable.

getSource()[source]

Get the Source table. return The table Source as a SourceTable.

getSpectralWindow()[source]

Get the SpectralWindow table. return The table SpectralWindow as a SpectralWindowTable.

getSquareLawDetector()[source]

Get the SquareLawDetector table. return The table SquareLawDetector as a SquareLawDetectorTable.

getState()[source]

Get the State table. return The table State as a StateTable.

getStation()[source]

Get the Station table. return The table Station as a StationTable.

getSubscan()[source]

Get the Subscan table. return The table Subscan as a SubscanTable.

getSwitchCycle()[source]

Get the SwitchCycle table. return The table SwitchCycle as a SwitchCycleTable.

getSysCal()[source]

Get the SysCal table. return The table SysCal as a SysCalTable.

getSysPower()[source]

Get the SysPower table. return The table SysPower as a SysPowerTable.

getTable(tableName)[source]

Get the table by name. Returns the named table. raises a ValueError if tableName is not a known table.

getTimeOfCreation()[source]

Get timeOfCreation. return timeOfCreation as ArrayTime

getTotalPower()[source]

Get the TotalPower table. return The table TotalPower as a TotalPowerTable.

getVLAWVR()[source]

Get the VLAWVR table. return The table VLAWVR as a VLAWVRTable.

getVersion()[source]

Get version. return version as int

getWVMCal()[source]

Get the WVMCal table. return The table WVMCal as a WVMCalTable.

getWeather()[source]

Get the Weather table. return The table Weather as a WeatherTable.

getXmlnsPrefix()[source]

Get xmlnsPrefix. return xmlnsPrefix as str

setEntity(e)[source]
setFromFile(directory)[source]

Reads and parses a collection of files as those produced by the toFile method. This dataset is populated with the result of the parsing. param directory The name of the directory containing the files. raises ConversionException If any error occurs while reading the files in the directory or parsing them.

os.path.expanduser is used on directory before directory is used. The expanded version is kept internally and returned and used as necessary.

setTimeOfCreation(timeOfCreation)[source]

Set timeOfCreation with the specified ArrayTime value. timeOfCreation The ArrayTime value to which timeOfCreation is to be set. The value of timeOfCreation can be anything allowed by the ArrayTime constructor.

setVersion(version)[source]

Set version with the specified int value. version The int value to which version is to be set.

setXmlnsPrefix(xmlnsPrefix)[source]

Set xmlnsPrefix with the specified str value. xmlnsPrefix The str value to which xmlnsPrefix is to be set.

status()[source]
toFile(directory)[source]

Write this ASDM dataset to the specified directory as a collection of files.

The container itself is written into an XML file. Each table of the container having at least one row is written into a binary or an XML file depending on the value of its “fileAsBin” field.

param directory The directory to which this dataset is written. raises ConversionException If any error occurs in converting the container. This method will not overwrite any existing file; a ConversionException is also raised in this case.

toXML()[source]

Produces the XML representation of this. Returns a string containing the XML representation of this.