2404 indexing enable
This commit is contained in:
@@ -39,7 +39,8 @@ void MXAnalyzer::ReadFromCPU(const int16_t *image, const SpotFindingSettings &se
|
||||
ReadFromFPGA(&output, settings, module_number);
|
||||
}
|
||||
|
||||
bool MXAnalyzer::Process(DataMessage &message) {
|
||||
bool MXAnalyzer::Process(DataMessage &message,
|
||||
const SpotFindingSettings& settings) {
|
||||
message.indexing_result = 0;
|
||||
if (!find_spots)
|
||||
return false;
|
||||
@@ -52,7 +53,7 @@ bool MXAnalyzer::Process(DataMessage &message) {
|
||||
for (const auto &spot: spots_out)
|
||||
message.spots.push_back(spot);
|
||||
|
||||
if (do_indexing) {
|
||||
if (do_indexing && settings.indexing) {
|
||||
std::vector<Coord> recip;
|
||||
for (const auto &i: spots_out)
|
||||
recip.push_back(i.ReciprocalCoord(experiment));
|
||||
|
||||
Reference in New Issue
Block a user