Bsoft 2.1.4
Bernard's software package
rwDSN6.h File Reference

Header file for reading and writing DSN6 files. More...

#include "rwimg.h"

Classes

struct  DSN6head
 

Macros

#define DSN6SIZE   512
 

Functions

int readDSN6 (Bimage *p, int readdata)
 Reading a DSN6 map image file format. More...
 
int writeDSN6 (Bimage *p)
 Writing a DSN6 map image file format. More...
 

Detailed Description

Header file for reading and writing DSN6 files.

Author
Bernard Heymann
Date
Created: 20011226
Modified: 200111217
Format: 3D crystallographic image file format for the DSN6 format

Macro Definition Documentation

◆ DSN6SIZE

#define DSN6SIZE   512

Function Documentation

◆ readDSN6()

int readDSN6 ( Bimage p,
int  readdata 
)

Reading a DSN6 map image file format.

Parameters
*pthe image structure.
readdataflag to activate reading of image data.
Returns
int error code (<0 means failure). A 3D image format used in X-ray crystallography. Header size: 512 bytes File format extensions: .omap, .dsn6, .dn6 Header byte order always big-endian, composed of short's. Byte order determination: Scaling fields must be less than 256. Data type: unsigned char or byte.

◆ writeDSN6()

int writeDSN6 ( Bimage p)

Writing a DSN6 map image file format.

Parameters
*pthe image structure.
Returns
int error code (<0 means failure). A 3D image format used in X-ray crystallography.