Skip to content

Create a Nanocluster with a Specific Shape

1. Introduction

Create a nanocluster of a given shape from a bulk material with the ASE nanoparticle builder.

2. Open the notebook

In JupyterLite, the notebook is made/create_cluster_specific_shape.ipynb, entry 1.4.4 "Specific Shape Cluster. Create a cluster by building up a specific shape" of made/Introduction.ipynb.

3. Set the parameters

The notebook takes the first of the input materials.

Cell 1.2 holds the parameters:

1
2
3
4
5
6
7
from mat3ra.made.tools.build.pristine_structures.zero_dimensional.nanoparticle import NanoparticleShapesEnum

shape = NanoparticleShapesEnum.OCTAHEDRON
parameters = {
    "length": 5,
    "cutoff": 2
}

shape is one of NanoparticleShapesEnum: ICOSAHEDRON, OCTAHEDRON, DECAHEDRON, SIMPLE_CUBIC, FACE_CENTERED_CUBIC, BODY_CENTERED_CUBIC, HEXAGONAL_CLOSED_PACKED or WULFF_CONSTRUCTION. parameters are the arguments of the ASE builder for that shape, listed in ASE Clusters.

4. Run and read the result

Run the notebook with Run > Run All. The notebook shows the cluster from the top and from the side, names it <material> <Shape> cluster and passes it back with set_materials, as in Structure Notebooks.

5. Interactive JupyterLite notebook

The interactive JupyterLite notebook for creating a nanocluster with a specific shape can be accessed below.

The specific example Gold Nanoclusters uses this notebook.