src.Libs package
Subpackages
- src.Libs.FileIO package
- src.Libs.Simulation package
- Subpackages
- Submodules
- src.Libs.Simulation.ArrayDataClass module
- src.Libs.Simulation.AtmosphereDataClass module
- src.Libs.Simulation.BeamWeightDataClass module
- src.Libs.Simulation.CSTDataClass module
- src.Libs.Simulation.DistributionDataClass module
DistributionData
DistributionData.createDistribution()
DistributionData.getDisorder()
DistributionData.getSpacing()
DistributionData.plotDist()
DistributionData.printOut()
DistributionData.setGeometry()
DistributionData.setMinimumSpacing()
DistributionData.setPoints()
DistributionData.setSpacing()
DistributionData.setType()
DistributionData.shuffle()
- src.Libs.Simulation.FarFieldDataClass module
FarFieldData
FarFieldData.adjustFarfield()
FarFieldData.calculateCurrent()
FarFieldData.calculateDipoleFarfieldPoint()
FarFieldData.calculateGaussianFarfieldPoint()
FarFieldData.combineFarField()
FarFieldData.createFarfield()
FarFieldData.createWaist()
FarFieldData.estimatePhaseCenter()
FarFieldData.getField()
FarFieldData.getFieldPoint()
FarFieldData.getPower()
FarFieldData.importFarfieldFile()
FarFieldData.makeMovie()
FarFieldData.moveCenter()
FarFieldData.movePhaseCenter()
FarFieldData.plotFarField()
FarFieldData.plotFarField2d()
FarFieldData.plotFarFieldCut()
FarFieldData.plotOpeningAngle()
FarFieldData.plotSParam()
FarFieldData.printOut()
FarFieldData.readCSTFarfieldFile()
FarFieldData.readUFOFarfieldFile()
FarFieldData.resetRotation()
FarFieldData.rotate()
FarFieldData.scaleI0()
FarFieldData.setCST()
FarFieldData.setFolder()
FarFieldData.setFrequency()
FarFieldData.setGain()
FarFieldData.setLog()
FarFieldData.setPhase()
FarFieldData.writeFile()
FarFieldData.writeSphere()
- src.Libs.Simulation.FoVDataClass module
- src.Libs.Simulation.ImpedanceMatrixDataClass module
- src.Libs.Simulation.NoiseDataClass module
- src.Libs.Simulation.SignalChainDataClass module
- src.Libs.Simulation.SnPDataClass module
- src.Libs.Simulation.constants module
- Module contents
Submodules
src.Libs.LogClass module
This file is part of the PAFFrontendSim.
The PAFFrontendSim is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License v3 as published by the Free Software Foundation.
The PAFFrontendSim is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with the PAFFrontendSim. If not, see https://www.gnu.org/licenses/.
- class src.Libs.LogClass.LogClass(label='', logPath=None)[source]
Bases:
object
Module to replace Pythons built-in print function with a more complex alternative.
Since the simulator consists of multiple modules, it is important to discern the origin of printed messages. For this reason, messages printed by LogClass are preceeded by a header. This header contains the name of the module producing the message as well as the object hierarchy. Optionally all messages can be stored in .log-files. There is a .log-file for each module as well as a global file with all messages. Additionally each message has a type of importance. The importance affects the color of the text (for example red for errors). It is also relevant for the verbosity. A low verbosity setting will only cause the most important messages to be printed.
- addLabel(cls='')[source]
Add additional label to the label list.
- Parameters:
cls (object) – Object of a class whose label should be added to the label
- printOut(Message, message_type='user', noSpace=True, lineFeed=True)[source]
Class console output function.
- Parameters :
Message (string): Message-text message_type (string): What type of message “Message” is. User, Error, etc. noSpace (boolean): print Class-name, otherwise only spces of the same length lineFeed (boolean): print line-feed at the end of the line