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

Program to generate symmetry axes for point group symmetries. More...

#include "rwimg.h"
#include "rwsymop.h"
#include "symmetry.h"
#include "linked_list.h"
#include "utilities.h"
#include "options.h"
#include "timer.h"

Functions

int img_write_symmetry_views (Bimage *p, Bsymmetry &sym, View ref_view, Bstring &filename, DataType datatype, double avg, double std)
 Rotates an image to all symmetry-related views and writes out the resultant images. More...
 
int main (int argc, char **argv)
 

Variables

int verbose
 
const char * use []
 

Detailed Description

Program to generate symmetry axes for point group symmetries.

Author
Bernard Heymann
Date
Created: 20001119
Modified: 20191104

Function Documentation

◆ img_write_symmetry_views()

int img_write_symmetry_views ( Bimage p,
Bsymmetry sym,
View  ref_view,
Bstring filename,
DataType  datatype,
double  avg,
double  std 
)

Rotates an image to all symmetry-related views and writes out the resultant images.

Parameters
*pimage to be rotated and saved.
*sympoint group symmetry.
ref_viewreference view (default 0,0,1,0).
&filenameoutput filename (converted to name_??.img)
datatypenew data type.
avgnew average.
stdnew standard deviation.
Returns
int 0.
The resultant image is rescaled to the desired average and standard
deviation, and converted to the desired data type. If the standard
deviation is zero, no rescaling is applied. The output filenames
are numbered with an underscore and two digits, starting at 1.

◆ main()

int main ( int  argc,
char **  argv 
)

Variable Documentation

◆ use

const char* use[]

◆ verbose

int verbose
extern