sampleassembly_program : Creating the template for sample assembly

c3dp.instruments.sampleassembly_program.makeSAXML(sampleassembly_fileName, pathTosave, scatterers={('collimator', 'shapeColl', 'coll_geometry', 'B4C', 'B4C.cif', 'cif'), ('inner-sleeve', 'shapeCu', 'inner-sleeve-geom', 'Cu', 'Cu.xyz', 'xyz'), ('outer-body', 'shapeAl', 'outer-body-geom', 'Al', 'Al.xyz', 'xyz'), ('sample', 'shapeSample', 'sample_geom', 'Si', 'Si.xyz', 'xyz')})[source]

creating the sample assembly file on which mcvine simulation will run

Parameters
  • sampleassembly_fileName (string) – file name of the sampleassembly

  • pathTosave (string) – the path where the sample assembly file will be saved

  • scatterers (set) – the set of scatterer information : scatterer name, shape name, shape file name, chemical formula, structure file path, structure file extension