Difference between revisions of "ScatterSim:Examples:002Lattice"

From GISAXS
Jump to: navigation, search
(Created page with "<source lang="python> # The next step is creating a lattice from ScatterSim.NanoObjects import SphereNanoObject, PolydisperseNanoObject # We'll import a few lattices, cubic, ...")
(No difference)

Revision as of 16:39, 28 March 2017

# The next step is creating a lattice

from ScatterSim.NanoObjects import SphereNanoObject, PolydisperseNanoObject
# We'll import a few lattices, cubic, FCC, BCC and Diamond
from ScatterSim.LatticeObjects import SimpleCubic, FCCLattice, BCCLattice, DiamondTwoParticleLattice
# import the peak shape for the peaks, tunable
from ScatterSim.PeakShape import PeakShape

import numpy as np
import matplotlib.pyplot as plt

TBA