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

Methods for postscript tools dealing with markers. More...

#include "ps_marker.h"
#include "ps_plot.h"
#include "linked_list.h"
#include "utilities.h"

Functions

int ps_marker_plots (ofstream *fps, Bstring &title, Bproject *project)
 Postscript plot of the errors associated with fiducial markers. More...
 
int ps_marker_errors (Bstring &filename, Bmarker *set1, Bmarker *set2, Transform t, Vector3< long > size, double err_scale)
 Output a postscript file that graphs the deviations of points in a Bmarker from their predicted location (using the transform parameters). More...
 
int ps_marker_errors (ofstream *fps, Bmarker *set1, Bmarker *set2, Transform t, Vector3< long > size, double err_scale)
 
int ps_marker_match (Bmarker *set1, Bmarker *set2, Bstring &filename)
 Output a postscript file that draws a line between matching features in a pair of coordinate sets. More...
 
int ps_dual_zcompare (Bstring &filename, Bproject *project)
 Generates a PostScript file that displays X by X, Y by Y, and Z by Z plots for diagnostic purposes. More...
 

Variables

int verbose
 

Detailed Description

Methods for postscript tools dealing with markers.

Author
Samuel Payne and Bernard Heymann
Date
Created: 20010725
Modified: 20200312 (BH)

Function Documentation

◆ ps_dual_zcompare()

int ps_dual_zcompare ( Bstring filename,
Bproject project 
)

Generates a PostScript file that displays X by X, Y by Y, and Z by Z plots for diagnostic purposes.

Author
Jessica Mavadia, Bernard Heymann
Date
20080610 - 20100211
Parameters
&filenamePostScript file name.
*projectproject with two tilt series reconstructions.
Returns
int 0, <0 on error

◆ ps_marker_errors() [1/2]

int ps_marker_errors ( Bstring filename,
Bmarker set1,
Bmarker set2,
Transform  t,
Vector3< long >  size,
double  err_scale 
)

Output a postscript file that graphs the deviations of points in a Bmarker from their predicted location (using the transform parameters).

Author
Samuel Payne & Bernard Heymann
Parameters
filename
*set1the first set of point(refset).
*set2the second set of point(applyset).
tthe transform parameters.
sizesize of image or frame around markers.
err_scalescaling factor for the error.
Returns
int 0

◆ ps_marker_errors() [2/2]

int ps_marker_errors ( ofstream *  fps,
Bmarker set1,
Bmarker set2,
Transform  t,
Vector3< long >  size,
double  err_scale 
)

◆ ps_marker_match()

int ps_marker_match ( Bmarker set1,
Bmarker set2,
Bstring filename 
)

Output a postscript file that draws a line between matching features in a pair of coordinate sets.

Author
Samuel Payne
Parameters
*set1the first set of coordinates
*set2second set of coordinates
&filenamename of file to be written
Returns
int 0

◆ ps_marker_plots()

int ps_marker_plots ( ofstream *  fps,
Bstring title,
Bproject project 
)

Postscript plot of the errors associated with fiducial markers.

Parameters
*fpsoutput stream.
&titletitle.
*projectproject parameter structure.
Returns
int 0, error if <0.

Variable Documentation

◆ verbose

int verbose
extern