![]() |
Bsoft 2.1.4
Bernard's software package
|
Header file for functions to process crystallographic data. More...
Functions | |
int | mg_unitcell_vectors (Bmicrograph *mg) |
Calculates the unit cell vectors for a 2D crystal. More... | |
long | mg_generate_reflections (Bmicrograph *mg, Vector3< double > real_size, double resolution) |
Generates reflections given the unit cell vectors. More... | |
int | img_mask_reflections (Bimage *p, Bstrucfac *sflist, double radius) |
Masks the image using the list of reflections. More... | |
Header file for functions to process crystallographic data.
Masks the image using the list of reflections.
*p | complex image. |
*sflist | reflection list. |
radius | radius around reflection to mask. |
long mg_generate_reflections | ( | Bmicrograph * | mg, |
Vector3< double > | real_size, | ||
double | resolution | ||
) |
Generates reflections given the unit cell vectors.
*mg | micrograph. |
real_size | physical image size. |
resolution | resolution limit. |
The structure factor location is given by: x = uh + vk where u and v are the unit cell vectors, and h and k are the associated Miller indices.
int mg_unitcell_vectors | ( | Bmicrograph * | mg | ) |
Calculates the unit cell vectors for a 2D crystal.
*mg | micrograph. |
Finds the unit cell vectors u and v by solving the equation: x = uh + vk where x is the location of the reflection or structure factor, and h and k are the associated Miller indices.