Tomographer  v5.2
Tomographer C++ Framework Documentation
tpy::PyStatusReportAddWorkerDataFields< Tomographer::MHRWTasks::MHRandomWalkTask< CData, Rng > > Struct Template Reference

Add fields to the given dict, from a status report sent in by a Tomographer::MHRWTasks::MHRandomWalkTask. More...

#include <py/cxx/tomographerpy/pymultiproc.h>

Public Types

typedef Tomographer::MHRWTasks::MHRandomWalkTask< CData, Rng >::StatusReportType TaskStatusReportType
 

Static Public Member Functions

static void addDataFields (py::dict &d, const TaskStatusReportType &wr)
 

Detailed Description

template<typename CData, typename Rng>
struct tpy::PyStatusReportAddWorkerDataFields< Tomographer::MHRWTasks::MHRandomWalkTask< CData, Rng > >

Add fields to the given dict, from a status report sent in by a Tomographer::MHRWTasks::MHRandomWalkTask.

The fields "mhrw_params", "acceptance_ratio", "kstep" (iteration number), and "n_total_iters" are added to the dictionary with corresponding values.

Definition at line 127 of file pymultiproc.h.


The documentation for this struct was generated from the following file: