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

Generate parameter files from a cisTEM hierarchy. More...

#include "mg_processing.h"
#include "rwmg.h"
#include "mg_ctf.h"
#include "file_util.h"
#include "linked_list.h"
#include "utilities.h"
#include "options.h"
#include "timer.h"

Functions

Bprojectgenerate_project_from_files (Bstring &framepath, Bstring &mgpath, Bstring &partpath, Bstring &pspath, long mg_per_field, int flags)
 
int main (int argc, char **argv)
 
Bstring path_and_extension (Bstring &fn)
 
long project_add_files (Bproject *project, vector< string > &files, int ftype, long number)
 

Variables

int verbose
 
const char * use []
 

Detailed Description

Generate parameter files from a cisTEM hierarchy.

Author
Bernard Heymann
Date
Created: 20210412
Modified: 20210413

Function Documentation

◆ generate_project_from_files()

Bproject * generate_project_from_files ( Bstring framepath,
Bstring mgpath,
Bstring partpath,
Bstring pspath,
long  mg_per_field,
int  flags 
)

◆ main()

int main ( int  argc,
char **  argv 
)

◆ path_and_extension()

Bstring path_and_extension ( Bstring fn)

◆ project_add_files()

long project_add_files ( Bproject project,
vector< string > &  files,
int  ftype,
long  number 
)

Variable Documentation

◆ use

const char* use[]
Initial value:
= {
" ",
"Usage: bimport [options] Assets",
"-------------------------------",
"Generates a micrograph parameter file from directories of files.",
" ",
"Parameters:",
"-verbose 7 Verbosity of output.",
"-sampling 1.5,1.5,1 Sampling (A/pixel, one value sets all).",
"-assets Assets Generate from cisTEM assets (modified by specifying other paths).",
"-framepath movies,tif Path for movie frames and extension.",
"-mgpath images,mrc Path for micrographs and extension.",
"-partpath images,pif Path for particles and extension.",
"-pspath powerspec,map Path for power spectra and extension.",
"-numberperfield 3 Number of micrographs per field-of-view (default 1).",
" ",
"Output:",
"-output file.star Output parameter file.",
" ",
NULL
}

◆ verbose

int verbose
extern