ncempy.edstomo package

Submodules

ncempy.edstomo.CharacteristicEmission module

ncempy.edstomo.CharacteristicEmission.ElamPrint(s)
ncempy.edstomo.CharacteristicEmission.GetElamFluorescenceLines(ElementName, E=None, I=None)[source]
ncempy.edstomo.CharacteristicEmission.GetFluorescenceLineEnergy(ElementName, Series='K', Line=None)[source]
ncempy.edstomo.CharacteristicEmission.GetWeightedSum(Line, Series)[source]

ncempy.edstomo.DoGenfire module

ncempy.edstomo.bruker module

ncempy.edstomo.bruker.ExtractRawSignalsFromBrukerSequence(InputDirectory=None, OutputEMD=None)[source]

Read in a set of Bruker bcf files containing EDS acquisitions and write an EMD file with the data.

Parameters:
  • InputDirectory (str) – Name of directory containing the bcf files.
  • OutputEMD (str) – Name of the output file (may include a path).
Returns:

None.

ncempy.edstomo.bruker.GetEnergyDimension(Dim)[source]

Return an energy value in eV.

ncempy.edstomo.bruker.GetSpatialDimension(Dim)[source]

Return a spatial value in meters.

ncempy.edstomo.bruker.GetTiltsFromBrukerSequence(Directory=None)[source]

Find the set of Bruker bcf files and figure out their tilts based on filenames.

There should be a set of bcf files in a directory with names: … -10.bcf, -5.bcf, 0.bcf, 5.bcf … The number represents the stage tilt of that stack. The angles do not matter but the names must be coded as above. They will be automatically read and sorted.

Parameters:Directory (str) – Name of directory containing the bcf files.
Returns:A list of tilt angles.
Return type:(list of floats)

ncempy.edstomo.postprocess module

ncempy.edstomo.preprocess module

Module contents