Bsoft 2.1.4
Bernard's software package
baberr.cpp File Reference

Program to generate images from aberration weights and analyze them. More...

#include "rwimg.h"
#include "rwPostScript.h"
#include "rwmg.h"
#include "mg_ctf.h"
#include "mg_ctf_fit.h"
#include "simplex.h"
#include "utilities.h"
#include "options.h"
#include "timer.h"
#include "use_ctf.inc"
#include "ctf.inc"

Functions

int weights_add (map< pair< long, long >, double > &weights, vector< double > v, int flag)
 
int weights_add (map< pair< long, long >, double > &weights, string s, int flag)
 
map< pair< long, long >, double > convert_zernike_weights (map< pair< long, long >, double > &weights)
 
map< pair< long, long >, double > convert_to_zernike_weights (map< pair< long, long >, double > &weights)
 
vector< Vector3< double > > shifts_from_file (Bstring &shiftfile)
 
int aberration_show (map< string, CTFparam > &cpa)
 
int img_ewald_sphere (Bimage *p, CTFparam &cp, double t)
 Imposes an Ewald sphere weighting on a 3D frequency space volume. More...
 
int main (int argc, char **argv)
 

Variables

int verbose
 
const char * use []
 

Detailed Description

Program to generate images from aberration weights and analyze them.

Author
Bernard Heymann
Date
Created: 20220106
Modified: 20221212

Function Documentation

◆ aberration_show()

int aberration_show ( map< string, CTFparam > &  cpa)

◆ convert_to_zernike_weights()

map< pair< long, long >, double > convert_to_zernike_weights ( map< pair< long, long >, double > &  weights)

◆ convert_zernike_weights()

map< pair< long, long >, double > convert_zernike_weights ( map< pair< long, long >, double > &  weights)

◆ img_ewald_sphere()

int img_ewald_sphere ( Bimage p,
CTFparam cp,
double  t 
)

Imposes an Ewald sphere weighting on a 3D frequency space volume.

Parameters
*pfrequency space 3D volume.
cpwavelength.
tthickness.
Returns
int 0.

◆ main()

int main ( int  argc,
char **  argv 
)

◆ shifts_from_file()

vector< Vector3< double > > shifts_from_file ( Bstring shiftfile)

◆ weights_add() [1/2]

int weights_add ( map< pair< long, long >, double > &  weights,
string  s,
int  flag 
)

◆ weights_add() [2/2]

int weights_add ( map< pair< long, long >, double > &  weights,
vector< double >  v,
int  flag 
)

Variable Documentation

◆ use

const char* use[]

◆ verbose

int verbose
extern