 |
Bsoft
2.1.0
Bernard's software package
|
Go to the documentation of this file.
17 double lores,
double hires);
21 Vector3<long> tile_size,
double tilt,
double axis,
double res_lo,
double res_hi);
25 double def_start,
double def_end,
double def_inc,
36 double def_dev,
double ast_angle);
38 double def_dev,
double ast_angle);
int project_set_envelope(Bproject *project, int type, double *coeff)
Sets the envelope equations of all the micrographs.
int project_set_aperture(Bproject *project, double aperture)
Sets the objective aperture of all the micrographs.
Bimage * img_ctf_calculate(CTFparam cp, int action, double wiener, Vector3< long > size, Vector3< double > sam, double lores=0, double hires=0)
Calculates a CTF complex image.
int project_merge_CTF_parameters(Bproject *project, Bproject *ctfproject)
Puts CTF parameters from one project into another.
int project_update_ctf(Bproject *project, JSvalue &jsctf)
Sets the acceleration voltage of all the micrographs.
Bimage * img_wave_aberration(CTFparam cp, Vector3< long > size, Vector3< double > sam)
Calculates a wave aberration function.
JSvalue project_defocus_range(Bproject *project)
Determines the minimum and maximum defocus values.
int img_ctf_apply_to_proj(Bimage *proj, CTFparam em_ctf, double defocus, double res_lo, double res_hi, fft_plan planf_2D, fft_plan planb_2D)
Applies a CTF to a projection image.
int project_update_first_zero(Bproject *project)
Updates the first zero from the defocus average for all the micrographs.
int project_ctf(Bproject *project, int action, double lores, double hires, Vector3< long > tile_size, double wiener, DataType datatype, Bstring &partpath, Bstring &newname, int flags)
Calculates or fits CTF curves to multiple power spectra.
int project_set_baseline(Bproject *project, int type, double *coeff)
Sets the baseline equations of all the micrographs.
int project_set_volts(Bproject *project, double volts)
Sets the acceleration voltage of all the micrographs.
int project_set_alpha(Bproject *project, double alpha)
Sets the beam source size/divergence angle of all the micrographs.
int project_ctf_average(Bproject *project, Bstring &psname)
Calculates or fits CTF curves to multiple power spectra.
int project_plot_ctf(Bproject *project, Bstring &filename)
Plots the CTF curves.
int project_set_astigmatism(Bproject *project, double def_dev, double ast_angle)
Sets the defocus deviation and astigmatism angle of all the micrographs.
General image parameter class.
int project_ctf_prepare(Bproject *project, int action, double lores, double hires, Vector3< long > tile_size, double def_start, double def_end, double def_inc, Bstring &path, Bstring &newname, int flags)
Calculates power spectra and optionally fits CTF curves.
int project_set_baseline_type(Bproject *project, int type)
Sets the baseline type of all the micrographs.
int img_ctf_apply(Bimage *p, CTFparam em_ctf, int action, double wiener, double lores, double hires)
Applies or corrects for the contrast transfer function (CTF).
int img_ttf_apply(Bimage *p, CTFparam ctf, int action, double wiener, Vector3< long > tile_size, double tilt, double axis, double res_lo, double res_hi)
Applies or corrects for the tilted contrast transfer function (TTF).
Header file for 2D and 3D image I/O.
int project_CTF_to_part(Bproject *project)
Transfers CTF parameters from micrographs to particles.
Header file for micrograph processing.
int project_set_envelope_type(Bproject *project, int type)
Sets the envelope type of all the micrographs.
int project_set_amp_shift(Bproject *project, double amp_shift)
Sets the amplitude contribution of all the micrographs.
DataType
Base data type specifier.
Bimage * project_powerspectrum_average(Bproject *project, double deftarget)
Averages multiple power spectra based on defocus estimates.
int project_set_coherence_envelope(Bproject *project)
Replaces envelope equations with those based on partial coherence in all micrographs.
int project_set_slit_width(Bproject *project, double slit)
Sets the energy filter slit width of all the micrographs.
int project_set_focal_length(Bproject *project, double focal_length)
Sets the focal length of all the micrographs.
int project_set_defocus(Bproject *project, double def_avg, double def_dev, double ast_angle)
Sets the defocus values of all the micrographs.
int project_set_Cs(Bproject *project, double Cs)
Sets the spherical aberation constant of all the micrographs.