Xmipp
v3.23.11-Nereus
|
#include <tomo_simulate_tilt_series.h>
Public Member Functions | |
void | readParams () |
Read argument from command line. More... | |
void | createFiducial (MultidimArray< double > &fidImage, int boxsize) |
create fiducial More... | |
void | createSphere (MultidimArray< int > &mask, int boxsize) |
create a cirte to limit the projection extension More... | |
void | maskingRotatedSubtomo (MultidimArray< double > &subtomo, int boxsize) |
void | placeSubtomoInTomo (const MultidimArray< double > &subtomo, MultidimArray< double > &tomo, const int xcoord, const int ycoord, const int zcood, const size_t halfboxsize) |
void | createFiducial (MultidimArray< double > &fidImage, MultidimArray< double > &fidVol, int fidSize) |
void | defineParams () |
Define parameters. More... | |
void | run () |
Run. More... | |
Public Member Functions inherited from XmippProgram | |
const char * | getParam (const char *param, int arg=0) |
const char * | getParam (const char *param, const char *subparam, int arg=0) |
int | getIntParam (const char *param, int arg=0) |
int | getIntParam (const char *param, const char *subparam, int arg=0) |
double | getDoubleParam (const char *param, int arg=0) |
double | getDoubleParam (const char *param, const char *subparam, int arg=0) |
float | getFloatParam (const char *param, int arg=0) |
float | getFloatParam (const char *param, const char *subparam, int arg=0) |
void | getListParam (const char *param, StringVector &list) |
int | getCountParam (const char *param) |
bool | checkParam (const char *param) |
bool | existsParam (const char *param) |
void | addParamsLine (const String &line) |
void | addParamsLine (const char *line) |
ParamDef * | getParamDef (const char *param) const |
virtual void | quit (int exit_code=0) const |
virtual int | tryRun () |
void | initProgress (size_t total, size_t stepBin=60) |
void | setProgress (size_t value=0) |
void | endProgress () |
void | processDefaultComment (const char *param, const char *left) |
void | setDefaultComment (const char *param, const char *comment) |
virtual void | initComments () |
void | setProgramName (const char *name) |
void | addUsageLine (const char *line, bool verbatim=false) |
void | clearUsage () |
void | addExampleLine (const char *example, bool verbatim=true) |
void | addSeeAlsoLine (const char *seeAlso) |
void | addKeywords (const char *keywords) |
const char * | name () const |
virtual void | usage (int verb=0) const |
virtual void | usage (const String ¶m, int verb=2) |
int | version () const |
virtual void | show () const |
virtual void | read (int argc, const char **argv, bool reportErrors=true) |
virtual void | read (int argc, char **argv, bool reportErrors=true) |
void | read (const String &argumentsLine) |
XmippProgram () | |
XmippProgram (int argc, const char **argv) | |
virtual | ~XmippProgram () |
Public Attributes | |
FileName | fnCoords |
FileName | fnVol |
FileName | fnFid |
double | maxTilt |
double | minTilt |
double | tiltStep |
double | sigmaNoise |
double | fidDiameter |
FileName | fnTsOut |
FileName | fnTomoOut |
int | xdim |
int | ydim |
int | nfids |
int | thickness |
double | sampling |
Public Attributes inherited from XmippProgram | |
bool | doRun |
bool | runWithoutArgs |
int | verbose |
Verbosity level. More... | |
int | debug |
Additional Inherited Members | |
Protected Member Functions inherited from XmippProgram | |
void | defineCommons () |
Protected Attributes inherited from XmippProgram | |
int | errorCode |
ProgramDef * | progDef |
Program definition and arguments parser. More... | |
std::map< String, CommentList > | defaultComments |
int | argc |
Original command line arguments. More... | |
const char ** | argv |
Movie alignment correlation Parameters.
Definition at line 38 of file tomo_simulate_tilt_series.h.
void ProgTomoSimulateTiltseries::createFiducial | ( | MultidimArray< double > & | fidImage, |
int | boxsize | ||
) |
create fiducial
void ProgTomoSimulateTiltseries::createFiducial | ( | MultidimArray< double > & | fidImage, |
MultidimArray< double > & | fidVol, | ||
int | fidSize | ||
) |
Definition at line 74 of file tomo_simulate_tilt_series.cpp.
void ProgTomoSimulateTiltseries::createSphere | ( | MultidimArray< int > & | mask, |
int | boxsize | ||
) |
create a cirte to limit the projection extension
Definition at line 116 of file tomo_simulate_tilt_series.cpp.
|
virtual |
Define parameters.
Reimplemented from XmippProgram.
Definition at line 54 of file tomo_simulate_tilt_series.cpp.
void ProgTomoSimulateTiltseries::maskingRotatedSubtomo | ( | MultidimArray< double > & | subtomo, |
int | boxsize | ||
) |
Definition at line 145 of file tomo_simulate_tilt_series.cpp.
void ProgTomoSimulateTiltseries::placeSubtomoInTomo | ( | const MultidimArray< double > & | subtomo, |
MultidimArray< double > & | tomo, | ||
const int | xcoord, | ||
const int | ycoord, | ||
const int | zcood, | ||
const size_t | halfboxsize | ||
) |
Definition at line 175 of file tomo_simulate_tilt_series.cpp.
|
virtual |
Read argument from command line.
Reimplemented from XmippProgram.
Definition at line 35 of file tomo_simulate_tilt_series.cpp.
|
virtual |
Run.
Reimplemented from XmippProgram.
Definition at line 195 of file tomo_simulate_tilt_series.cpp.
double ProgTomoSimulateTiltseries::fidDiameter |
Fiducial size
Definition at line 53 of file tomo_simulate_tilt_series.h.
FileName ProgTomoSimulateTiltseries::fnCoords |
input filename of the metadata with coordinates
Definition at line 42 of file tomo_simulate_tilt_series.h.
FileName ProgTomoSimulateTiltseries::fnFid |
Definition at line 47 of file tomo_simulate_tilt_series.h.
FileName ProgTomoSimulateTiltseries::fnTomoOut |
Definition at line 56 of file tomo_simulate_tilt_series.h.
FileName ProgTomoSimulateTiltseries::fnTsOut |
output tilt series
Definition at line 56 of file tomo_simulate_tilt_series.h.
FileName ProgTomoSimulateTiltseries::fnVol |
input filename with a volume of the protein
Definition at line 45 of file tomo_simulate_tilt_series.h.
double ProgTomoSimulateTiltseries::maxTilt |
Tilting parameters and std of noise
Definition at line 50 of file tomo_simulate_tilt_series.h.
double ProgTomoSimulateTiltseries::minTilt |
Definition at line 50 of file tomo_simulate_tilt_series.h.
int ProgTomoSimulateTiltseries::nfids |
number of fiducials
Definition at line 63 of file tomo_simulate_tilt_series.h.
double ProgTomoSimulateTiltseries::sampling |
Sampling rate
Definition at line 69 of file tomo_simulate_tilt_series.h.
double ProgTomoSimulateTiltseries::sigmaNoise |
Definition at line 50 of file tomo_simulate_tilt_series.h.
int ProgTomoSimulateTiltseries::thickness |
Tomogram thickness
Definition at line 66 of file tomo_simulate_tilt_series.h.
double ProgTomoSimulateTiltseries::tiltStep |
Definition at line 50 of file tomo_simulate_tilt_series.h.
int ProgTomoSimulateTiltseries::xdim |
dimensions of the tilt series
Definition at line 59 of file tomo_simulate_tilt_series.h.
int ProgTomoSimulateTiltseries::ydim |
Definition at line 60 of file tomo_simulate_tilt_series.h.