pymcxray.FileFormat.Results package

Submodules

pymcxray.FileFormat.Results.BaseResults module

BaseResults

class pymcxray.FileFormat.Results.BaseResults.BaseResults(path='', basename='MCXRay')[source]

Bases: object

basename
filepath
path

pymcxray.FileFormat.Results.BeamParameters module

MCXRay beam parameters from results file.

class pymcxray.FileFormat.Results.BeamParameters.BeamParameters[source]

Bases: object

acquisitionTime_s
current_A
diameter90_A
gaussianMean
gaussianSigma
incidentEnergy_keV
readFromLines(lines)[source]
tiltAngle_deg

pymcxray.FileFormat.Results.DetectorParameters module

MCXRay detector parameters from results file.

class pymcxray.FileFormat.Results.DetectorParameters.DetectorParameters[source]

Bases: object

angleBetweenDetectorSpecimenNormal_deg
angleBetweenDetectorXAxis_deg
beamDetectorDistance_cm
crystalDensity_g_cm3
crystalName
crystalRadius_cm
crystalThickness_cm
deadLayerThickness_A
diffusionLength_A
noiseEdsDetector_eV
readFromLines(lines)[source]
solidAngle_deg
surfaceQualityFactor
takeoffAngleEffective_deg
takeoffAngleNormalIncidence_deg
thicknessAir_um
thicknessAlWindow_um
thicknessBeWindow_um
thicknessH2O_um
thicknessMoxtek_um
thicknessOil_um
thicknessTiWindow_um

pymcxray.FileFormat.Results.Dump module

MCXRay dump results file.

class pymcxray.FileFormat.Results.Dump.Dump[source]

Bases: object

read(filepath)[source]

pymcxray.FileFormat.Results.ElectronExistResults module

Read electron exit results simulated with MCXRay.

class pymcxray.FileFormat.Results.ElectronExistResults.ElectronDetector[source]

Bases: object

azimuthalAngleRange_deg
detectElectrons(data)[source]
energyRange_keV
maximumAzimuthalAngle_deg
maximumEnergy_keV
maximumPolarAngle_deg
minimumAzimuthalAngle_deg
minimumEnergy_keV
minimumPolarAngle_deg
polarAngleRange_deg
class pymcxray.FileFormat.Results.ElectronExistResults.ElectronExistResults(*args, **kargs)[source]

Bases: pymcxray.FileFormat.Results.BaseResults.BaseResults

data
getEnergyDistribution(numberBins=10)[source]
numberData
read()[source]

pymcxray.FileFormat.Results.ElectronParameters module

MCXRay electron parameters results file.

class pymcxray.FileFormat.Results.ElectronParameters.ElectronParameters[source]

Bases: object

backscatteredRatio
eRatio
internalRatio
meanAzimuthalAngleCollision_deg
meanDistanceBetweenCollisions_A
meanNumberCollisionPerElectrons
meanPolarAngleCollision_deg
numberSimulatedElectrons
readFromLines(lines)[source]
skirtRatio
throughRatio

pymcxray.FileFormat.Results.ElectronResults module

Read ElectronResults MCXRay results file.

class pymcxray.FileFormat.Results.ElectronResults.ElectronResults[source]

Bases: pymcxray.FileFormat.Results.BaseResults.BaseResults

fieldNames
fractionBackscatteredElectrons
fractionInternalElectrons
fractionSkirtedElectrons
fractionTransmittedElectrons
numberBackscatteredElectrons
numberElectronCollisions
numberInternalElectrons
numberSimulatedElectrons
numberSkirtedElectrons
numberTransmittedElectrons
read()[source]
write_hdf5(hdf5_group)[source]

pymcxray.FileFormat.Results.ElectronTrajectoriesResults module

Read MCXray electron trajectories results file.

class pymcxray.FileFormat.Results.ElectronTrajectoriesResults.Collision[source]

Bases: object

collisionType
correctedX_A
correctedY_A
correctedZ_A
energy_keV
indexRegion
x_A
y_A
z_A
class pymcxray.FileFormat.Results.ElectronTrajectoriesResults.ElectronTrajectoriesResults(filepath)[source]

Bases: object

drawXY(title='', corrected=False, x_limit=None, y_limit=None)[source]
drawXZ(title='', corrected=False, theta_deg=0.0, colorType='colorTrajectoryType', trajectoryIndexes=None, x_limit=None, y_limit=None)[source]
drawYZ(title='', corrected=False, x_limit=None, y_limit=None)[source]
getElectronGunPositions_nm()[source]
read(filepath)[source]
write_hdf5(hdf5_group)[source]
class pymcxray.FileFormat.Results.ElectronTrajectoriesResults.Trajectory[source]

Bases: object

addCollision(collision)[source]
collisions
index
trajectoryType
pymcxray.FileFormat.Results.ElectronTrajectoriesResults.run()[source]
pymcxray.FileFormat.Results.ElectronTrajectoriesResults.runAuCThinFilm()[source]
pymcxray.FileFormat.Results.ElectronTrajectoriesResults.runFogging()[source]

pymcxray.FileFormat.Results.ElementParameters module

MCXRay element parameters result file.

class pymcxray.FileFormat.Results.ElementParameters.ElementParameters[source]

Bases: object

pymcxray.FileFormat.Results.Intersections module

MCXRay intersections results file.

class pymcxray.FileFormat.Results.Intersections.Intersections[source]

Bases: object

extractFromLines(lines)[source]

pymcxray.FileFormat.Results.MicroscopeParameters module

MCXRay microscope parameter in results file.

class pymcxray.FileFormat.Results.MicroscopeParameters.MicroscopeParameters[source]

Bases: object

beamParameters
detectorParameters
readFromLines(lines)[source]

pymcxray.FileFormat.Results.ModelParameters module

MCXRay model parameters from results file.

class pymcxray.FileFormat.Results.ModelParameters.ModelParameters[source]

Bases: object

atomCollisionModel
atomCollisionScreeningModel
atomCrossSectionModel
atomCrossSectionScreeningModel
atomElectronRangeModel
atomEnergyLossModel
atomMeanIonizationPotentialModel
atomScreeningModel
bremsstrahlungCrossSectionModel
characterisitcCrossSectionModel
readFromLines(lines)[source]
regionEnergyLossModel

pymcxray.FileFormat.Results.Phirhoz module

MCXRay phirhoz result file.

class pymcxray.FileFormat.Results.Phirhoz.Phirhoz(symbol, shell)[source]

Bases: object

depths_A
intensity
readFromLines(lines)[source]
shell
symbol
values

pymcxray.FileFormat.Results.PhirhozElement module

MCXRay result file phirhoz element.

class pymcxray.FileFormat.Results.PhirhozElement.PhirhozElement[source]

Bases: object

isIonizationShell_K
isIonizationShell_L
isIonizationShell_M
readFromLine(line)[source]
symbol
weightFraction

pymcxray.FileFormat.Results.PhirhozEmittedCharacteristic module

Read PhirhozEmittedCharacteristic file from MCXRay.

class pymcxray.FileFormat.Results.PhirhozEmittedCharacteristic.PhirhozEmittedCharacteristic[source]

Bases: pymcxray.FileFormat.Results.BaseResults.BaseResults

depth_A
depth_nm
fieldNames
phirhozs
read(regionID=0)[source]
write_hdf5(hdf5_group)[source]

pymcxray.FileFormat.Results.PhirhozEmittedCharacteristicThinFilm module

Read mcxray phirhoz thin film emitted results.

class pymcxray.FileFormat.Results.PhirhozEmittedCharacteristicThinFilm.PhirhozEmittedCharacteristicThinFilm[source]

Bases: pymcxray.FileFormat.Results.BaseResults.BaseResults

fieldNames
getIntensity(regionID, atomicSymbol, xrayLine)[source]
intensities
numberRegions
read()[source]

pymcxray.FileFormat.Results.PhirhozGenerated module

MCXRay phirhoz generated result file.

class pymcxray.FileFormat.Results.PhirhozGenerated.PhirhozGenerated[source]

Bases: object

electronParameters
getCharacteristicPhiRhoZ(regionID)[source]
microscopeParameters
modelParameters
numberRegions
read(filepath)[source]
readElectron(lines)[source]
readMicroscope(lines)[source]
readRegions(lines)[source]
readSimulationParameters(lines)[source]
readSolidSimulationModels(lines)[source]
simulationParameters

pymcxray.FileFormat.Results.PhirhozGeneratedCharacteristic module

Read PhirhozGeneratedCharacteristic file from MCXRay program.

class pymcxray.FileFormat.Results.PhirhozGeneratedCharacteristic.PhirhozGeneratedCharacteristic[source]

Bases: pymcxray.FileFormat.Results.BaseResults.BaseResults

depth_A
depth_nm
fieldNames
phirhozs
read(regionID=0)[source]
write_hdf5(hdf5_group)[source]

pymcxray.FileFormat.Results.PhirhozGeneratedCharacteristicThinFilm module

Read mcxray phirhoz thin film generated results.

class pymcxray.FileFormat.Results.PhirhozGeneratedCharacteristicThinFilm.PhirhozGeneratedCharacteristicThinFilm[source]

Bases: pymcxray.FileFormat.Results.BaseResults.BaseResults

fieldNames
getIntensity(regionID, atomicSymbol, xrayLine)[source]
get_subshells()[source]
get_symbols()[source]
intensities
numberRegions
read()[source]
write_hdf5(hdf5_group)[source]

pymcxray.FileFormat.Results.PhirhozRegion module

MCXRay phirhoz results file for a region.

class pymcxray.FileFormat.Results.PhirhozRegion.PhirhozRegion(numberEnergyWindows, numberLayersZ)[source]

Bases: object

readBackgroundPhirhozs(lines)[source]
readCharacteristicPhirhozs(lines)[source]
readElements(lines)[source]
readFromLines(lines)[source]
readPhirhozDistributions(lines)[source]
readRegionVolume(lines)[source]
regionID

pymcxray.FileFormat.Results.RegionParameters module

MCXRay region parameters result file.

class pymcxray.FileFormat.Results.RegionParameters.RegionParameters[source]

Bases: object

elements
layerThickness_A
numberElements
regionID

pymcxray.FileFormat.Results.RegionVolume module

MCXRay result file region volume.

class pymcxray.FileFormat.Results.RegionVolume.RegionVolume[source]

Bases: object

readFromLines(lines)[source]
regionID

pymcxray.FileFormat.Results.SimulationParameters module

MCXRay simulation parameters results file.

class pymcxray.FileFormat.Results.SimulationParameters.SimulationParameters[source]

Bases: object

edsMaximumEnergy_keV
generalizedWalk
interpolationType
maximumLiveTime_s
numberChannels
numberElectrons
numberEnergyWindows
numberLayersX
numberLayersY
numberLayersZ
numberPhotons
readFromLines(lines)[source]
useLiveTime_s

pymcxray.FileFormat.Results.Spectra module

MCXRay spectra result file.

class pymcxray.FileFormat.Results.Spectra.Spectra[source]

Bases: object

getElementSpectra()[source]
getElementSpectrum(regionID, elementName)[source]
getRegionParameters(regionID)[source]
getRegionSpectrum(regionID)[source]
getSpecimenSpectrum()[source]
numberRegions
read(filepath)[source]
readRegion(lines)[source]
readRegions(lines)[source]
readSpecimen(lines)[source]

pymcxray.FileFormat.Results.SpectraEDS module

Read MCXRay spectra EDS results file.

class pymcxray.FileFormat.Results.SpectraEDS.SpectraEDS[source]

Bases: object

characteristicProbability
elements
numberCharateristicPeaks
numberElements
numberSimulatedPhotons
readFileObject(inputFile)[source]
readFilepath(filepath)[source]
readPartialSpectraReferenceSection(lines)[source]
readRegionSpectraSection(lines)[source]
readTestInputSection(lines)[source]
regionID
pymcxray.FileFormat.Results.SpectraEDS.runExample()[source]

pymcxray.FileFormat.Results.Spectrum module

MCXRay spectrum result file.

class pymcxray.FileFormat.Results.Spectrum.Spectrum[source]

Bases: object

backgroundIntensities
characteristicIntensities
energies_keV
intensities

pymcxray.FileFormat.Results.SpectrumEDS module

Read MCXRay EDS spectrm from results file.

class pymcxray.FileFormat.Results.SpectrumEDS.SpectrumEDS(lines=None)[source]

Bases: object

channels
countsList
enegies_keV
readLines(lines)[source]

pymcxray.FileFormat.Results.Tags module

MCXRay tags used in output files.

exception pymcxray.FileFormat.Results.Tags.TagNotFoundError[source]

Bases: ValueError

pymcxray.FileFormat.Results.Tags.findAllTag(tag, lines, contains=None)[source]
pymcxray.FileFormat.Results.Tags.findTag(tag, lines)[source]

pymcxray.FileFormat.Results.XrayIntensities module

Xray intensities result file from MCXRay.

class pymcxray.FileFormat.Results.XrayIntensities.XrayIntensities[source]

Bases: pymcxray.FileFormat.Results.BaseResults.BaseResults

fieldNames
getAtomicNumberLineEnergySets()[source]
getDetectedIntensity(atomicNumber, xrayLine)[source]
getIntensity(data_type, region_id, atomic_number, xray_line)[source]
getIntensityEmitted(atomicNumber, xrayLine, total=True)[source]
getIntensityEmittedDetected(atomicNumber, xrayLine, total=True)[source]
getIntensityGenerated(atomicNumber, xraySubshell, total=False)[source]
getIntensityGeneratedDetected(atomicNumber, xraySubshell)[source]
get_result_types()[source]
get_xray_lines()[source]
intensities
numberIntensities
read()[source]
write_hdf5(hdf5_group)[source]

pymcxray.FileFormat.Results.XraySimulatedSpectraRegion module

description

class pymcxray.FileFormat.Results.XraySimulatedSpectraRegion.XraySimulatedSpectraRegion[source]

Bases: pymcxray.FileFormat.Results.BaseResults.BaseResults

channelNumbers
detectedIntensities
eNetPeak
energiesReference_keV
energies_keV
fieldNames
peakToBackgrpound
peakToBackgrpoundAverage
read(regionID=0)[source]
simulatedIntensities

pymcxray.FileFormat.Results.XraySimulatedSpectraSpecimen module

description

class pymcxray.FileFormat.Results.XraySimulatedSpectraSpecimen.XraySimulatedSpectraSpecimen[source]

Bases: pymcxray.FileFormat.Results.BaseResults.BaseResults

energies_keV
fieldNames
read()[source]
totals

pymcxray.FileFormat.Results.XraySpectraAtomEmittedDetectedLines module

Read MCXRay XraySpectraAtomEmittedDetectedLines file.

class pymcxray.FileFormat.Results.XraySpectraAtomEmittedDetectedLines.XraySpectraAtomEmittedDetectedLines[source]

Bases: pymcxray.FileFormat.Results.BaseResults.BaseResults

characteristics
energies_keV
fieldNames
read(regionID)[source]

pymcxray.FileFormat.Results.XraySpectraRegionEmitted module

Read XraySpectraRegionEmitted mcxray result file.

class pymcxray.FileFormat.Results.XraySpectraRegionEmitted.XraySpectraRegionEmitted[source]

Bases: pymcxray.FileFormat.Results.BaseResults.BaseResults

bremsstrahlungValue_1_ekeVsr(energy_keV)[source]
bremsstrahlung_1_ekeVsr
characteristicValue_1_ekeVsr(energy_keV)[source]
characteristic_1_ekeVsr
energies_keV
fieldnames
read(regionID=0)[source]
totalValue_1_ekeVsr(energy_keV)[source]
total_1_ekeVsr
pymcxray.FileFormat.Results.XraySpectraRegionEmitted.run()[source]

pymcxray.FileFormat.Results.XraySpectraRegionsEmitted module

Read all XraySpectraRegionsEmitted mcxray result files for all regions.

class pymcxray.FileFormat.Results.XraySpectraRegionsEmitted.XraySpectraRegionsEmitted[source]

Bases: pymcxray.FileFormat.Results.XraySpectraRegionEmitted.XraySpectraRegionEmitted

read()[source]
write_hdf5(hdf5_group)[source]
pymcxray.FileFormat.Results.XraySpectraRegionsEmitted.run()[source]

pymcxray.FileFormat.Results.XraySpectraSpecimen module

Read XraySpectraSpecimen MCXRay results file.

class pymcxray.FileFormat.Results.XraySpectraSpecimen.XraySpectraSpecimen[source]

Bases: pymcxray.FileFormat.Results.BaseResults.BaseResults

backgrounds
characteristics
energies_keV
fieldNames
read()[source]
totals
write_hdf5(hdf5_group)[source]

pymcxray.FileFormat.Results.XraySpectraSpecimenEmittedDetected module

Read XraySpectraSpecimenEmittedDetected MCXRay results file.

class pymcxray.FileFormat.Results.XraySpectraSpecimenEmittedDetected.XraySpectraSpecimenEmittedDetected[source]

Bases: pymcxray.FileFormat.Results.BaseResults.BaseResults

backgrounds
characteristics
energies_keV
fieldNames
read()[source]
totals
write_hdf5(hdf5_group)[source]

pymcxray.FileFormat.Results.test_BaseResults module

Tests for the module BaseResults.

class pymcxray.FileFormat.Results.test_BaseResults.TestBaseResults(methodName='runTest')[source]

Bases: unittest.case.TestCase

TestCase class for the module BaseResults.

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.

setUp()[source]

Setup method.

tearDown()[source]

Teardown method.

testSkeleton()[source]

First test to check if the testcase is working with the testing framework.

test_basename()[source]

Tests for method basename.

test_init()[source]

Tests for method init.

test_path()[source]

Tests for method path.

pymcxray.FileFormat.Results.test_BeamParameters module

Tests for module BeamParameters.

class pymcxray.FileFormat.Results.test_BeamParameters.TestBeamParameters(methodName='runTest')[source]

Bases: unittest.case.TestCase

TestCase class for the module BeamParameters.

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.

setUp()[source]

Setup method.

tearDown()[source]

Teardown method.

testSkeleton()[source]

First test to check if the testcase is working with the testing framework.

test_readFromLines()[source]

Tests for method readFromLines.

pymcxray.FileFormat.Results.test_DetectorParameters module

Tests for module DetectorParameters.

class pymcxray.FileFormat.Results.test_DetectorParameters.TestDetectorParameters(methodName='runTest')[source]

Bases: unittest.case.TestCase

TestCase class for the module DetectorParameters.

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.

setUp()[source]

Setup method.

tearDown()[source]

Teardown method.

testSkeleton()[source]

First test to check if the testcase is working with the testing framework.

test_readFromLines()[source]

Tests for method readFromLines.

pymcxray.FileFormat.Results.test_Dump module

Tests for module Dump

class pymcxray.FileFormat.Results.test_Dump.TestDump(methodName='runTest')[source]

Bases: unittest.case.TestCase

TestCase class for the module Dump.

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.

setUp()[source]

Setup method.

tearDown()[source]

Teardown method.

testSkeleton()[source]

First test to check if the testcase is working with the testing framework.

test_read()[source]

Tests for method read.

pymcxray.FileFormat.Results.test_ElectronExistResults module

pymcxray.FileFormat.Results.test_ElectronParameters module

Tests for module ElectronParameters.

class pymcxray.FileFormat.Results.test_ElectronParameters.TestElectronParameters(methodName='runTest')[source]

Bases: unittest.case.TestCase

TestCase class for the module ElectronParameters.

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.

setUp()[source]

Setup method.

tearDown()[source]

Teardown method.

testSkeleton()[source]

First test to check if the testcase is working with the testing framework.

test_readFromLines()[source]

Tests for method readFromLines.

pymcxray.FileFormat.Results.test_ElectronParameters.getLinesAndReference()[source]

pymcxray.FileFormat.Results.test_ElectronResults module

Tests for the module XraySpectraSpecimen.

class pymcxray.FileFormat.Results.test_ElectronResults.TestElectronResults(methodName='runTest')[source]

Bases: unittest.case.TestCase

TestCase class for the module ElectronResults.

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.

setUp()[source]

Setup method.

tearDown()[source]

Teardown method.

testSkeleton()[source]

First test to check if the testcase is working with the testing framework.

test_read()[source]

Tests for method read.

pymcxray.FileFormat.Results.test_ElementParameters module

Tests for the module ElementParameters.

class pymcxray.FileFormat.Results.test_ElementParameters.TestElementParameters(methodName='runTest')[source]

Bases: unittest.case.TestCase

TestCase class for the module ElementParameters.

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.

setUp()[source]

Setup method.

tearDown()[source]

Teardown method.

testSkeleton()[source]

First test to check if the testcase is working with the testing framework.

pymcxray.FileFormat.Results.test_Intersections module

Tests for module Intersections.

class pymcxray.FileFormat.Results.test_Intersections.TestIntersections(methodName='runTest')[source]

Bases: unittest.case.TestCase

TestCase class for the module Intersections.

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.

setUp()[source]

Setup method.

tearDown()[source]

Teardown method.

testSkeleton()[source]

First test to check if the testcase is working with the testing framework.

test_extractFromLines()[source]

Tests for method extractFromLines.

pymcxray.FileFormat.Results.test_MicroscopeParameters module

Tests for module MicroscopeParameters.

class pymcxray.FileFormat.Results.test_MicroscopeParameters.TestMicroscopeParameters(methodName='runTest')[source]

Bases: unittest.case.TestCase

TestCase class for the module MicroscopeParameters.

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.

setUp()[source]

Setup method.

tearDown()[source]

Teardown method.

testSkeleton()[source]

First test to check if the testcase is working with the testing framework.

test_readFromLines()[source]

Tests for method readFromLines.

pymcxray.FileFormat.Results.test_MicroscopeParameters.getLinesAndReference()[source]

pymcxray.FileFormat.Results.test_ModelParameters module

ModelParameters

class pymcxray.FileFormat.Results.test_ModelParameters.TestModelParameters(methodName='runTest')[source]

Bases: unittest.case.TestCase

TestCase class for the module ModelParameters.

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.

setUp()[source]

Setup method.

tearDown()[source]

Teardown method.

testSkeleton()[source]

First test to check if the testcase is working with the testing framework.

test_readFromLines()[source]

Tests for method readFromLines.

pymcxray.FileFormat.Results.test_ModelParameters.getLinesAndReference()[source]

pymcxray.FileFormat.Results.test_Phirhoz module

Tests for the module Phirhoz.

class pymcxray.FileFormat.Results.test_Phirhoz.TestPhirhoz(methodName='runTest')[source]

Bases: unittest.case.TestCase

TestCase class for the module Phirhoz.

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.

setUp()[source]

Setup method.

tearDown()[source]

Teardown method.

testSkeleton()[source]

First test to check if the testcase is working with the testing framework.

test_readFromLines()[source]

Tests for method readFromLines.

pymcxray.FileFormat.Results.test_Phirhoz.getLinesAndReference(path)[source]

pymcxray.FileFormat.Results.test_PhirhozElement module

Tests for the module PhirhozElement.

class pymcxray.FileFormat.Results.test_PhirhozElement.TestPhirhozElement(methodName='runTest')[source]

Bases: unittest.case.TestCase

TestCase class for the module PhirhozElement.

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.

setUp()[source]

Setup method.

tearDown()[source]

Teardown method.

testSkeleton()[source]

First test to check if the testcase is working with the testing framework.

test_readFromLine()[source]

Tests for method readFromLines.

pymcxray.FileFormat.Results.test_PhirhozElement.getLineAndReference()[source]

pymcxray.FileFormat.Results.test_PhirhozEmittedCharacteristic module

Tests for the module PhirhozEmittedCharacteristic.

class pymcxray.FileFormat.Results.test_PhirhozEmittedCharacteristic.TestPhirhozEmittedCharacteristic(methodName='runTest')[source]

Bases: unittest.case.TestCase

TestCase class for the module PhirhozEmittedCharacteristic.

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.

setUp()[source]

Setup method.

tearDown()[source]

Teardown method.

testSkeleton()[source]

First test to check if the testcase is working with the testing framework.

test_read()[source]

Tests for method read.

pymcxray.FileFormat.Results.test_PhirhozEmittedCharacteristicThinFilm module

Tests for module PhirhozEmittedCharacteristicThinFilm.

class pymcxray.FileFormat.Results.test_PhirhozEmittedCharacteristicThinFilm.TestPhirhozEmittedCharacteristicThinFilm(methodName='runTest')[source]

Bases: unittest.case.TestCase

TestCase class for the module PhirhozEmittedCharacteristicThinFilm.

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.

setUp()[source]

Setup method.

tearDown()[source]

Teardown method.

testSkeleton()[source]

First test to check if the testcase is working with the testing framework.

test_getIntensity()[source]

Tests for method getIntensity.

test_read()[source]

Tests for method read.

pymcxray.FileFormat.Results.test_PhirhozGenerated module

Tests for the module PhirhozGenerated.#

class pymcxray.FileFormat.Results.test_PhirhozGenerated.TestPhirhozGenerated(methodName='runTest')[source]

Bases: unittest.case.TestCase

TestCase class for the module moduleName.

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.

setUp()[source]

Setup method.

tearDown()[source]

Teardown method.

testSkeleton()[source]

First test to check if the testcase is working with the testing framework.

test_read()[source]

Tests for method read.

pymcxray.FileFormat.Results.test_PhirhozGeneratedCharacteristic module

Tests for the module PhirhozGeneratedCharacteristic.

class pymcxray.FileFormat.Results.test_PhirhozGeneratedCharacteristic.TestPhirhozGeneratedCharacteristic(methodName='runTest')[source]

Bases: unittest.case.TestCase

TestCase class for the module PhirhozGeneratedCharacteristic.

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.

setUp()[source]

Setup method.

tearDown()[source]

Teardown method.

testSkeleton()[source]

First test to check if the testcase is working with the testing framework.

test_read()[source]

Tests for method read.

pymcxray.FileFormat.Results.test_PhirhozGeneratedCharacteristicThinFilm module

Tests for module PhirhozGeneratedCharacteristicThinFilm.

class pymcxray.FileFormat.Results.test_PhirhozGeneratedCharacteristicThinFilm.TestPhirhozGeneratedCharacteristicThinFilm(methodName='runTest')[source]

Bases: unittest.case.TestCase

TestCase class for the module PhirhozGeneratedCharacteristicThinFilm.

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.

setUp()[source]

Setup method.

tearDown()[source]

Teardown method.

testSkeleton()[source]

First test to check if the testcase is working with the testing framework.

test_getIntensity()[source]

Tests for method getIntensity.

test_read()[source]

Tests for method read.

pymcxray.FileFormat.Results.test_PhirhozRegion module

Tests for the module PhirhozRegion.

class pymcxray.FileFormat.Results.test_PhirhozRegion.TestPhirhozRegion(methodName='runTest')[source]

Bases: unittest.case.TestCase

TestCase class for the module PhirhozRegion.

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.

setUp()[source]

Setup method.

tearDown()[source]

Teardown method.

testSkeleton()[source]

First test to check if the testcase is working with the testing framework.

test_readFromLines()[source]

Tests for method readFromLines.

pymcxray.FileFormat.Results.test_PhirhozRegion.getLinesAndReference(path)[source]

pymcxray.FileFormat.Results.test_RegionParameters module

Tests for the module RegionParameters.

class pymcxray.FileFormat.Results.test_RegionParameters.TestRegionParameters(methodName='runTest')[source]

Bases: unittest.case.TestCase

TestCase class for the module RegionParameters.

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.

setUp()[source]

Setup method.

tearDown()[source]

Teardown method.

testSkeleton()[source]

First test to check if the testcase is working with the testing framework.

pymcxray.FileFormat.Results.test_RegionVolume module

Tests for the module RegionVolume.

class pymcxray.FileFormat.Results.test_RegionVolume.TestRegionVolume(methodName='runTest')[source]

Bases: unittest.case.TestCase

TestCase class for the module RegionVolume.

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.

NOtest_readFromLines()[source]

Tests for method readFromLines.

setUp()[source]

Setup method.

tearDown()[source]

Teardown method.

testSkeleton()[source]

First test to check if the testcase is working with the testing framework.

pymcxray.FileFormat.Results.test_RegionVolume.getLinesAndReference()[source]

pymcxray.FileFormat.Results.test_SimulationParameters module

Tests for the module SimulationParameters.

class pymcxray.FileFormat.Results.test_SimulationParameters.TestSimulationParameters(methodName='runTest')[source]

Bases: unittest.case.TestCase

TestCase class for the module SimulationParameters.

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.

setUp()[source]

Setup method.

tearDown()[source]

Teardown method.

testSkeleton()[source]

First test to check if the testcase is working with the testing framework.

test_readFromLines()[source]

Tests for method readFromLines.

pymcxray.FileFormat.Results.test_SimulationParameters.getLinesAndReference()[source]

pymcxray.FileFormat.Results.test_Spectra module

Tests for the module Spectra.

class pymcxray.FileFormat.Results.test_Spectra.TestSpectra(methodName='runTest')[source]

Bases: unittest.case.TestCase

TestCase class for the module Spectra.

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.

setUp()[source]

Setup method.

tearDown()[source]

Teardown method.

testSkeleton()[source]

First test to check if the testcase is working with the testing framework.

test__extractElementHeader()[source]

Tests for method _extractElementHeader.

test__extractRegionHeader()[source]

Tests for method _extractRegionHeader.

test_read()[source]

Tests for method read.

test_readRegion()[source]

Tests for method readRegion.

test_readSpecimen()[source]

Tests for method readSpecimen.

pymcxray.FileFormat.Results.test_SpectraEDS module

Tests for module SpectraEDS.

class pymcxray.FileFormat.Results.test_SpectraEDS.TestSpectraEDS(methodName='runTest')[source]

Bases: unittest.case.TestCase

TestCase class for the module SpectraEDS.

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.

setUp()[source]

Setup method.

tearDown()[source]

Teardown method.

testSkeleton()[source]

First test to check if the testcase is working with the testing framework.

test_FindTestData()[source]

Tests for method FindTestData.

test__extractTotalCounts()[source]

Tests for method _extractTotalCounts.

test__isPartialSpectraReferenceSection()[source]

Tests for method _isTestInputSection.

test__isRegionSpectraSection()[source]

Tests for method _isRegionSpectraSection.

test__isTestInputSection()[source]

Tests for method _isTestInputSection.

test_readPartialSpectraReferenceSection()[source]

Tests for method readTestInputSection.

test_readRegionSpectraSection()[source]

Tests for method readRegionSpectraSection.

test_readTestInputSection()[source]

Tests for method readTestInputSection.

pymcxray.FileFormat.Results.test_Spectrum module

Tests for the module Spectrum

class pymcxray.FileFormat.Results.test_Spectrum.TestSpectrum(methodName='runTest')[source]

Bases: unittest.case.TestCase

TestCase class for the module Spectrum.

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.

setUp()[source]

Setup method.

tearDown()[source]

Teardown method.

testSkeleton()[source]

First test to check if the testcase is working with the testing framework.

pymcxray.FileFormat.Results.test_Tags module

Tests for the modules Tags.

class pymcxray.FileFormat.Results.test_Tags.TestTags(methodName='runTest')[source]

Bases: unittest.case.TestCase

TestCase class for the module Tags.

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.

getLines()[source]
setUp()[source]

Setup method.

tearDown()[source]

Teardown method.

testSkeleton()[source]

First test to check if the testcase is working with the testing framework.

test_findTag()[source]

Tests for method findTag.

pymcxray.FileFormat.Results.test_XrayIntensities module

Tests for the module XrayIntensities.

class pymcxray.FileFormat.Results.test_XrayIntensities.TestXrayIntensities(methodName='runTest')[source]

Bases: unittest.case.TestCase

TestCase class for the module XrayIntensities.

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.

setUp()[source]

Setup method.

tearDown()[source]

Teardown method.

testSkeleton()[source]

First test to check if the testcase is working with the testing framework.

test_read()[source]

Tests for method read.

pymcxray.FileFormat.Results.test_XraySimulatedSpectraRegion module

description

class pymcxray.FileFormat.Results.test_XraySimulatedSpectraRegion.TestXraySimulatedSpectraRegion(methodName='runTest')[source]

Bases: unittest.case.TestCase

TestCase class for the module moduleName.

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.

setUp()[source]

Setup method.

tearDown()[source]

Teardown method.

testSkeleton()[source]

First test to check if the testcase is working with the testing framework.

test_read()[source]

Tests for method read.

pymcxray.FileFormat.Results.test_XraySimulatedSpectraSpecimen module

class pymcxray.FileFormat.Results.test_XraySimulatedSpectraSpecimen.TestXraySimulatedSpectraSpecimen(methodName='runTest')[source]

Bases: unittest.case.TestCase

TestCase class for the module XraySimulatedSpectraSpecimen.

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.

setUp()[source]

Setup method.

tearDown()[source]

Teardown method.

testSkeleton()[source]

First test to check if the testcase is working with the testing framework.

test_read()[source]

Tests for method read.

pymcxray.FileFormat.Results.test_XraySpectraAtomEmittedDetectedLines module

Tests for the module XraySpectraAtomEmittedDetectedLines.

class pymcxray.FileFormat.Results.test_XraySpectraAtomEmittedDetectedLines.TestXraySpectraAtomEmittedDetectedLines(methodName='runTest')[source]

Bases: unittest.case.TestCase

TestCase class for the module XraySpectraAtomEmittedDetectedLines.

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.

setUp()[source]

Setup method.

tearDown()[source]

Teardown method.

testSkeleton()[source]

First test to check if the testcase is working with the testing framework.

test_read()[source]

Tests for method read.

pymcxray.FileFormat.Results.test_XraySpectraRegionEmitted module

pymcxray.FileFormat.Results.test_XraySpectraRegionsEmitted module

pymcxray.FileFormat.Results.test_XraySpectraSpecimen module

Tests for the module XraySpectraSpecimen.

class pymcxray.FileFormat.Results.test_XraySpectraSpecimen.TestXraySpectraSpecimen(methodName='runTest')[source]

Bases: unittest.case.TestCase

TestCase class for the module XraySpectraSpecimen.

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.

setUp()[source]

Setup method.

tearDown()[source]

Teardown method.

testSkeleton()[source]

First test to check if the testcase is working with the testing framework.

test_read()[source]

Tests for method read.

pymcxray.FileFormat.Results.test_XraySpectraSpecimenEmittedDetected module

Tests for the module XraySpectraSpecimenEmittedDetected.

class pymcxray.FileFormat.Results.test_XraySpectraSpecimenEmittedDetected.TestXraySpectraSpecimenEmittedDetected(methodName='runTest')[source]

Bases: unittest.case.TestCase

TestCase class for the module XraySpectraSpecimenEmittedDetected.

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.

setUp()[source]

Setup method.

tearDown()[source]

Teardown method.

testSkeleton()[source]

First test to check if the testcase is working with the testing framework.

test_read()[source]

Tests for method read.

pymcxray.FileFormat.Results.tests module

Module contents