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, ...")
 
Line 1: Line 1:
<source lang="python>
+
<source lang="python">
 
# The next step is creating a lattice
 
# The next step is creating a lattice
  

Revision as of 16:19, 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