Choose and import sources

Installed examples, local files and Session Datasets.

Read the example library

Installed example library is the collection provided by the module. In the grid, Type identifies the format, Structure gives the readable name and Rights the terms declared by the source. Select a row to choose which file to install, and scroll the list to see the other examples.

Example in the listIDWhen to use it
Halite (NaCl)1000041Check the cubic cell, eight sites and the supercell.
Layered carbon1000065Look at the layered arrangement of carbon.
Sodium bromide1010045Compare an ionic structure with halite.
Anatase TiO21010942Read sites of several elements in the anatase cell.
Beta cristobalite1010944Explore another crystal structure of silica.
Alpha iron1100108Look at a single-element metallic structure.
Alpha quartz1536409Examine fractional coordinates and the cell shape of quartz.
Urea molecular crystal2003112Examine the molecules repeated in a crystal.
Diamond2101499Open the CIF of the diamond lattice, also with its paired CUBE field.
Calcite9000095Compare the cell shape and sites of calcite.
High pressure quartz9011495Consult the separate record of high-pressure quartz.
Copper9013014Look at the published structure of copper.
Silicon9013102Look at the published structure of silicon.
Water RHF electron densitywaterOpen a molecule and a computed density grid in a single source.
Diamond periodic RHF charge densitydiamondOpen the periodic field and the CIF it is paired with.
Water displacement signed differencewater_differenceShow the positive and negative regions of the density difference.

Filter the examples

In Search by name, COD ID or source type enter part of the name, for example halite, the identity 1000041 or the type CUBE. The grid updates as you type, capital letters included. The search can also match words in the citation. A search with no matches leaves the list empty. Clear the field to show all the examples.

With CUBE in the search field, the three volumetric examples remain.
With CUBE in the search field, the three volumetric examples remain.

Install a row into the Session

Select a row and press Install selected into Session, or double-click the row. The message at the bottom shows the installed ID. For a CIF the viewer selects the structure Dataset. For a CUBE it selects the field and, when a pairing is declared, the associated CIF as well. With Halite (NaCl) you get crystal.cod.1000041. Installing the same entry a second time uses the same identity. If nothing is selected, Select a library entry appears. Close the message and select a row.

After installing, press Open / update 3D structure and density and wait for Rendered. To check a file directly, use the halite original, COD 1000041, attributed in the CIF itself. Halite CIF distributed with GX-TXT, CC0-1.0 (ZIP).

Import a local CIF or CUBE

  1. Press Import local CIF / CUBE…. In the file dialog, Crystal structures and density shows the .cif, .cube and .cub formats. All files shows other names too. Acquisition checks the extension and the content anyway.
  2. Select the file and confirm with Open. Cancel leaves the Datasets unchanged. A supported CIF requires cell parameters and sites with fractional coordinates. The CUBE must contain an accepted scalar grid and the atom coordinates. A CIF without cell data is rejected, and the last line of the message names the required value. An unrelated extension produces Choose a CIF or Gaussian CUBE source.
  3. Read the ID in the Imported message. The prefix is crystal.local. for a CIF and density.local. for a CUBE. Importing a name already in use adds _2, then the next available suffixes. If you import a CUBE it also becomes the selected field. A newly imported CIF may leave the CUBE field already chosen. Check both selectors before rendering.
The local CIF has been accepted and has become the structure Dataset.
The local CIF has been accepted and has become the structure Dataset.

Choose Datasets already in the Session

Structure source Dataset lists the accepted CIF and CUBE files of the Session. The CIF provides the crystal structure and the cell. The CUBE can provide the atomic geometry stored in the file. Refresh Session sources rereads the available IDs, for example after an acquisition made outside the viewer. Electron-density CUBE Dataset lists only the CUBE fields and the empty choice. For an overlay, choose the structure and the field separately. Always press Open / update 3D structure and density after the change.

The two selectors show a CIF used as the structure and a different CUBE Dataset as the field.
The two selectors show a CIF used as the structure and a different CUBE Dataset as the field.