areaDetector  3-5-0
EPICS areaDetector framework
Macros | Functions | Variables
PIXIE_data_utilities.cpp File Reference
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include "PIXIEII_data_utilities_v2.h"

Macros

#define PIXIEII_DATA_UTILITIES_V2_CPP_
 

Functions

void genera_tabella_clock (unsigned short *clocks, unsigned short dim, unsigned short counterwidth)
 
unsigned short * conversion_table_allocation (SENSOR *Sens_ptr)
 
unsigned short * databuffer_allocation (unsigned long size)
 
void * buffer_allocation (unsigned long elems, int size_el)
 
int databuffer_sorting (unsigned short *buffer_a, SENSOR Sens)
 
int map_data_buffer_on_pixie (unsigned short *buffer_a, SENSOR Sens)
 
int map_data_buffer_on_pixieIII (unsigned short *buffer_a, SENSOR Sens)
 
void decode_pixie_data_buffer (unsigned short *table, int table_depth, unsigned short *databuffer, int databuffer_len)
 
void my_bytes_swap (unsigned short *us_ptr)
 
int convert_bit_stream_to_counts (int code_depth, unsigned short *source_memory_offset, unsigned short *destination_memory_offset, SENSOR Sens, int verbose)
 
void get_pixie_raw_data (unsigned short *source_buff_ptr, unsigned short *dest_buff_ptr, ACQ_PROP Acq_sett, SENSOR Sens)
 
int InvertPIIIConversionTable (unsigned short *table_ptr, int table_size, int code_dept)
 
int GeneratePIIIConversionTable (unsigned short *table_ptr, int table_size, int code_dept)
 
unsigned short * PIIIConversion_table_allocation (int code_depth)
 

Variables

int verbose =NOVERBOSE
 

Macro Definition Documentation

◆ PIXIEII_DATA_UTILITIES_V2_CPP_

#define PIXIEII_DATA_UTILITIES_V2_CPP_

Function Documentation

◆ buffer_allocation()

void* buffer_allocation ( unsigned long  elems,
int  size_el 
)

◆ conversion_table_allocation()

unsigned short* conversion_table_allocation ( SENSOR Sens_ptr)

◆ convert_bit_stream_to_counts()

int convert_bit_stream_to_counts ( int  code_depth,
unsigned short *  source_memory_offset,
unsigned short *  destination_memory_offset,
SENSOR  Sens,
int  verbose 
)

◆ databuffer_allocation()

unsigned short* databuffer_allocation ( unsigned long  size)

◆ databuffer_sorting()

int databuffer_sorting ( unsigned short *  buffer_a,
SENSOR  Sens 
)

◆ decode_pixie_data_buffer()

void decode_pixie_data_buffer ( unsigned short *  table,
int  table_depth,
unsigned short *  databuffer,
int  databuffer_len 
)

◆ genera_tabella_clock()

void genera_tabella_clock ( unsigned short *  clocks,
unsigned short  dim,
unsigned short  counterwidth 
)

◆ GeneratePIIIConversionTable()

int GeneratePIIIConversionTable ( unsigned short *  table_ptr,
int  table_size,
int  code_dept 
)

◆ get_pixie_raw_data()

void get_pixie_raw_data ( unsigned short *  source_buff_ptr,
unsigned short *  dest_buff_ptr,
ACQ_PROP  Acq_sett,
SENSOR  Sens 
)

◆ InvertPIIIConversionTable()

int InvertPIIIConversionTable ( unsigned short *  table_ptr,
int  table_size,
int  code_dept 
)

◆ map_data_buffer_on_pixie()

int map_data_buffer_on_pixie ( unsigned short *  buffer_a,
SENSOR  Sens 
)

◆ map_data_buffer_on_pixieIII()

int map_data_buffer_on_pixieIII ( unsigned short *  buffer_a,
SENSOR  Sens 
)

◆ my_bytes_swap()

void my_bytes_swap ( unsigned short *  us_ptr)

◆ PIIIConversion_table_allocation()

unsigned short* PIIIConversion_table_allocation ( int  code_depth)

Variable Documentation

◆ verbose

int verbose =NOVERBOSE