First update.

This commit is contained in:
sunwen
2023-10-09 09:29:21 +08:00
parent a434c105c0
commit 903ac2c087
56 changed files with 1044 additions and 1021 deletions

View File

@@ -1,11 +1,12 @@
#include "Parser.h"
#include "config/config.h"
#include "log/notify.h"
#include <vector>
#define EIGEN_USE_MKL_ALL
#include "src/common/fileHelper.h"
#include "startReconstructions.h"
#include "log/log.h"
/* 0 is data path.
1 is dataRef path.
2 is output path.
@@ -14,12 +15,10 @@
int main(int argc, char *argv[])
{
auto defaultLogger = getLogger("Main");
spdlog::set_default_logger(defaultLogger);
int argNum = 4;
std::vector<std::string> args(argNum);
args[0] = "";
args[1] = "";
args[0] = "/home/sun/20230418T141000/";
args[1] = "/home/sun/20230418T145123/";
args[2] = Recon::DEFAULT_OUTPUT_PATH;
args[3] = Recon::DEFAULT_CONFIG_PATH;
argc = argc <= argNum? argc-1 : argNum;