Print method for an object of class "unit_cell".
print.unit_cell.Rd
The values are displayed in angstroms and degrees
The output includes details on the unit cell, the crystal symmetry and the first 10 records (data).
Arguments
- x
An object of class "merged_reflections".
- ...
Additional arguments passed to the print methods
Value
No values. A message is displayed which includes information on the unit cell.
No values. A message is displayed which includes information on the reflections contained in this object and the crystal structure they relate to.
Examples
# Create a cubic unit cell
uc <- unit_cell(10,10,10,90,90,90)
# Display its value
print(uc)
#> This is an object of class 'unit_cell'
#> Its sides are:
#> 10.000 , 10.000 , 10.000 angstroms.
#> Its angles are:
#> 90.000 , 90.000 , 90.000 degrees.
# Create a default 'merged_reflections' object
mrefs <- merged_reflections()
# Display its value
print(mrefs)
#> This is an object of class 'merged_reflections'
#>
#> Its unit cell has sides:
#> 10.000 , 10.000 , 10.000 angstroms.
#> And angles:
#> 90.000 , 90.000 , 90.000 degrees.
#>
#> Its symmetry is represented by space group: P 2 3.
#> These are the first few data lines:
#>
#> H K L S
#> 1 0 0 -2 0.2000000
#> 2 -1 -1 -1 0.1732051
#> 3 0 -1 -1 0.1414214
#> 4 1 -1 -1 0.1732051
#> 5 -1 0 -1 0.1414214
#> 6 0 0 -1 0.1000000
#> 7 1 0 -1 0.1414214
#> 8 -1 1 -1 0.1732051
#> 9 0 1 -1 0.1414214
#> 10 1 1 -1 0.1732051