123456789101112131415161718192021222324252627282930313233343536373839404142 |
-
-
-
-
-
-
- #include <Merlin>
- using namespace Lemma;
-
- int main(int argc, char** argv) {
-
- if (argc<5) {
- std::cout << "ModelAligner aligns a dummy model with a pre-calculated"
- << "imaging kernel.\n\n"
- << "./ModelAligner Kernel.yaml T2Low T2High nT2 \n";
-
- return(EXIT_FAILURE);
- }
-
- auto Kernel = KernelV0::DeSerialize(YAML::LoadFile(argv[1]));
-
- auto Model = LayeredEarthMR::NewSP();
- Model->AlignWithKernel(Kernel);
- Model->SetT2StarBins(atoi(argv[2]), atoi(argv[3]), atoi(argv[4]));
-
- std::cout << *Model << std::endl;
- }
-
|