riCOM_cpp
This repository contains the C++ implementation of the riCOM (Real Time Centre Of Mass) algorithm for 4D Scanning electron microscopy.
|
#include <Ricom.h>
Public Member Functions | |
void | draw_ricom_image () |
void | draw_ricom_image (int y0, int ye) |
void | draw_stem_image () |
void | draw_stem_image (int y0, int ye) |
void | draw_e_field_image () |
void | draw_e_field_image (int y0, int ye) |
void | run (int mode) |
void | reset () |
void | process_data () |
Ricom () | |
~Ricom () | |
Public Attributes | |
SocketConnector | socket |
std::string | file_path |
bool | b_print2file |
int | redraw_interval |
std::atomic< int > | last_y |
ProgressMonitor * | p_prog_mon |
bool | b_busy |
bool | update_offset |
bool | b_continuous =false |
bool | b_cumulative =false |
bool | b_plot_cbed |
std::array< std::atomic< size_t >, 3 > | frame_id_plot_cbed = {0, 1, 0} |
bool | b_vSTEM |
bool | b_e_mag |
bool | b_ricom |
bool | b_airpi |
bool | b_plot2SDL |
bool | b_recompute_detector |
bool | b_recompute_kernel |
Ricom_detector | detector |
Ricom_kernel | kernel |
std::array< float, 2 > | offset |
std::array< float, 2 > | com_public |
std::vector< float > | comx_image |
std::vector< float > | comy_image |
std::vector< float > | ricom_image |
std::vector< float > | stem_image |
std::vector< float > | airpi_image |
std::vector< size_t > | dose_data [2] |
std::vector< size_t > | sumx_data [2] |
std::vector< size_t > | sumy_data [2] |
std::vector< size_t > | stem_data [2] |
std::vector< size_t > | frame |
std::vector< std::complex< float > > | e_field_data |
int | mode |
RICOM::cameras | camera |
int | nx |
int | ny |
int | nxy |
int | n_cam |
int | dt |
int | rep |
int | fr_total |
int | skip_row |
int | skip_img |
int | processor_line |
int | preprocessor_line |
int | id_image |
int | n_threads |
int | n_threads_max |
int | queue_size |
float | fr_freq |
float | fr_count |
float | fr_count_total |
std::atomic< bool > | rescale_ricom |
std::atomic< bool > | rescale_stem |
std::atomic< bool > | rescale_e_mag |
bool | rc_quit |
SDL_Surface * | srf_ricom |
int | ricom_cmap |
SDL_Surface * | srf_stem |
int | stem_cmap |
SDL_Surface * | srf_cbed |
int | cbed_cmap |
SDL_Surface * | srf_e_mag |
int | e_mag_cmap |
void Ricom::draw_e_field_image | ( | ) |
void Ricom::draw_e_field_image | ( | int | y0, |
int | ye | ||
) |
void Ricom::draw_ricom_image | ( | ) |
void Ricom::draw_stem_image | ( | ) |
void Ricom::process_data | ( | ) |
Definition at line 471 of file Ricom.cpp.
void Ricom::reset | ( | ) |
Definition at line 767 of file Ricom.cpp.
RICOM::cameras Ricom::camera |
Ricom_detector Ricom::detector |
std::array<std::atomic<size_t>, 3> Ricom::frame_id_plot_cbed = {0, 1, 0} |
Ricom_kernel Ricom::kernel |
ProgressMonitor* Ricom::p_prog_mon |
SocketConnector Ricom::socket |