40 addUsageLine(
"Calculate the structure factor and the Guinier plot of a volume");
43 addParamsLine(
"[-o <structure=\"\">] : Metadata with the structure factor and the Guinier plot");
44 addParamsLine(
" : If no name is given, then volume_structure.xmd");
45 addParamsLine(
"[--sampling <T=1>] : Sampling rate in Angstroms/pixel");
60 <<
"Input volume: " << fnVol << std::endl
61 <<
"Output structure: " << fnStructure << std::endl
62 <<
"Sampling: " << sampling << std::endl
103 MDout.
write(fnStructure);
double getDoubleParam(const char *param, int arg=0)
FileName removeAllExtensions() const
#define FOR_ALL_DIRECT_ELEMENTS_IN_ARRAY1D(v)
void getSpectrum(MultidimArray< double > &Min, MultidimArray< double > &spectrum, int spectrum_type)
void log(Image< double > &op)
const char * getParam(const char *param, int arg=0)
__device__ float FFT_IDX2DIGFREQ(int idx, int size)
int read(const FileName &name, DataMode datamode=DATA, size_t select_img=ALL_IMAGES, bool mapData=false, int mode=WRITE_READONLY)
void addUsageLine(const char *line, bool verbatim=false)
void FFT_magnitude(const MultidimArray< std::complex< double > > &v, MultidimArray< double > &mag)
void addParamsLine(const String &line)