Bsoft 2.1.4
Bernard's software package
mg_ctf_sim.h File Reference

Header file for functions to simulate tilted micrographs. More...

#include "Bimage.h"
#include "ctf.h"

Functions

Bimageimg_ttf_simulate (Bimage *pn, CTFparam &ctf, int action, double wiener, double tilt, double tilt_inc, double axis)
 Calculates an exact tilted CTF imposed image. More...
 

Detailed Description

Header file for functions to simulate tilted micrographs.

Author
Bernard Heymann
Date
Created: 20150224
Modified: 20200525

Function Documentation

◆ img_ttf_simulate()

Bimage * img_ttf_simulate ( Bimage pn,
CTFparam ctf,
int  action,
double  wiener,
double  tilt,
double  tilt_inc,
double  axis 
)

Calculates an exact tilted CTF imposed image.

Parameters
*pnimage structure.
&ctfCTF parameter structure.
action0=apply, 1=flip.
wienerWiener factor.
tilttilt angle in radians.
tilt_inctilt increment per sub-image in radians.
axistilt axis direction in radians.
Returns
Bimage* new image.
A CTF function is calculated for each line parallel to the tilt axis,
applied to the whole image, and the transformed line written into a new image.