|
863 | 863 | # O O 0.0 0.5 0.5 c 1.0 Biso 1.66 |
864 | 864 | # ``` |
865 | 865 |
|
| 866 | +# %% [markdown] |
| 867 | +# Note that the `occupancy` of the La and Ba atoms is 0.5 and those atoms |
| 868 | +# are located in the same position (0, 0, 0) in the unit cell. This means that |
| 869 | +# an extra attribute `occupancy` needs to be set for those atoms later in the |
| 870 | +# sample model. |
| 871 | +# |
| 872 | +# We model the La/Ba site using the virtual crystal approximation. |
| 873 | +# In this approach, the scattering is taken as a weighted average of La and Ba. |
| 874 | +# This reproduces the average diffraction pattern well but does not capture |
| 875 | +# certain real-world effects. |
| 876 | +# |
| 877 | +# The edge cases are: |
| 878 | +# - **Random distribution**. |
| 879 | +# La and Ba atoms are placed randomly. The Bragg peaks still match the |
| 880 | +# average structure, but the pattern also shows extra background |
| 881 | +# (diffuse scattering) between the peaks, but this is usually neglected |
| 882 | +# in the analysis. |
| 883 | +# - **Perfect ordering**. |
| 884 | +# La and Ba arrange themselves in a regular pattern, creating a larger |
| 885 | +# repeating unit. This gives rise to extra peaks |
| 886 | +# ("superlattice reflections") and changes the intensity of some existing |
| 887 | +# peaks. |
| 888 | +# - **Virtual crystal approximation (our model)**. |
| 889 | +# We replace the site with a single "virtual atom" that averages La and Ba. |
| 890 | +# This gives the correct average Bragg peaks but leaves out the extra |
| 891 | +# background of the random case and the extra peaks of the ordered case. |
| 892 | + |
866 | 893 | # %% [markdown] |
867 | 894 | # #### Exercise 3.1: Create Sample Model |
868 | 895 | # |
|
929 | 956 | # %% [markdown] tags=["dmsc-school-hint"] |
930 | 957 | # Use the atom sites from the CIF data. You can use the `add` method of |
931 | 958 | # the `atom_sites` attribute of the sample model to add the atom sites. |
932 | | -# |
933 | | -# Note that the `occupancy` of the La and Ba atoms is 0.5 and those atoms |
934 | | -# are located in the same position (0, 0, 0) in the unit cell. This means that |
935 | | -# an extra attribute `occupancy` needs to be set for those atoms. |
936 | | -# |
937 | | -# We model the La/Ba site using the virtual crystal approximation. |
938 | | -# In this approach, the scattering is taken as a weighted average of La and Ba. |
939 | | -# This reproduces the average diffraction pattern well but does not capture |
940 | | -# certain real-world effects. |
941 | | -# |
942 | | -# The edge cases are: |
943 | | -# - **Random distribution**. |
944 | | -# La and Ba atoms are placed randomly. The Bragg peaks still match the |
945 | | -# average structure, but the pattern also shows extra background |
946 | | -# (diffuse scattering) between the peaks, but this is usually neglected |
947 | | -# in the analysis. |
948 | | -# - **Perfect ordering**. |
949 | | -# La and Ba arrange themselves in a regular pattern, creating a larger |
950 | | -# repeating unit. This gives rise to extra peaks |
951 | | -# ("superlattice reflections") and changes the intensity of some existing |
952 | | -# peaks. |
953 | | -# - **Virtual crystal approximation (our model)**. |
954 | | -# We replace the site with a single "virtual atom" that averages La and Ba. |
955 | | -# This gives the correct average Bragg peaks but leaves out the extra |
956 | | -# background of the random case and the extra peaks of the ordered case. |
957 | 959 |
|
958 | 960 | # %% [markdown] |
959 | 961 | # **Solution:** |
|
0 commit comments