| Bsoft 1.9 Bernard's software package

- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
img_reflections.h
Go to the documentation of this file.
1
9 #include "rwimg.h"
10 #include "utilities.h"
11
12 /* Constant definitions */
13 #define NSHELLS 100 // Number of shells in calculating profiles
14
15 #ifndef _Bprofile_
16 struct Bprofile {
17 float radius; // Inner shell radius
18 float dist[NSHELLS]; // Distances from origin in pixels
19 int num[NSHELLS]; // Numbers of reflections
20 float amp[NSHELLS]; // Average amplitudes
21 } ;
22 #define _Bprofile_
23 #endif
24
25 /* Function prototypes */
26 int img_normalize_reflections(Bimage* p);
27 int img_mirror_reflections(Bimage* p);
28 unsigned long img_select_reflections(Bimage* p, double hires, double lores,
29 double cone, int weigh, double fomcut);
30 Bprofile* img_reflection_profile(Bimage* p, float radius);
31 int img_sfanalyze(Bimage* p);
32 int img_sfscale(Bimage* p, Bstring& hklname);
33 int img_sfmerge(Bimage* p, Bstring& hklname);
34
NSHELLS
#define NSHELLS
Definition: img_reflections.h:13
utilities.h
Header file for general utilities.
Bprofile::dist
float dist[NSHELLS]
Definition: img_reflections.h:18
img_reflection_profile
Bprofile * img_reflection_profile(Bimage *p, float radius)
img_sfscale
int img_sfscale(Bimage *p, Bstring &hklname)
Scales the input reflections with a second set.
Definition: img_reflections.cpp:418
Bimage
General image parameter class.
Definition: Bimage.h:150
img_mirror_reflections
int img_mirror_reflections(Bimage *p)
Mirrors a set of reflections by negating the phases.
Definition: img_reflections.cpp:64
Bprofile::radius
float radius
Definition: img_reflections.h:17
img_select_reflections
unsigned long img_select_reflections(Bimage *p, double hires, double lores, double cone, int weigh, double fomcut)
Selects reflections for output.
Definition: img_reflections.cpp:94
img_normalize_reflections
int img_normalize_reflections(Bimage *p)
Normalizes a set of reflections encoded as a complex image.
Definition: img_reflections.cpp:29
Bstring
Definition: Bstring.h:25
Bprofile
Definition: img_reflections.h:16
Bprofile::num
int num[NSHELLS]
Definition: img_reflections.h:19
Bprofile::amp
float amp[NSHELLS]
Definition: img_reflections.h:20
rwimg.h
Header file for 2D and 3D image I/O.
img_sfmerge
int img_sfmerge(Bimage *p, Bstring &hklname)
Merges the input reflections with a second set.
Definition: img_reflections.cpp:477
img_sfanalyze
int img_sfanalyze(Bimage *p)
Analyzes the FOM's of a set of reflections encoded as a complex image.
Definition: img_reflections.cpp:300