1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
-
-
-
-
-
-
- #include <Merlin>
- using namespace Lemma;
-
- int main(int argc, char** argv) {
-
- if (argc<3) {
- std::cout << "./ForwardFID Kernel.yaml Model.yaml \n";
- return(EXIT_FAILURE);
- }
- auto Kernel = KernelV0::DeSerialize(YAML::LoadFile(argv[1]));
-
-
- auto Model = LayeredEarthMR::DeSerialize(YAML::LoadFile(argv[2]));
-
-
- auto Forward = ForwardFID::NewSP();
-
- Forward->SetLogSpacedWindows(10,1000,30);
- Forward->SetKernel(Kernel);
- Forward->SetNoiseFloor(50);
- auto FID = Forward->ForwardModel(Model);
- std::cout << *FID << std::endl;
-
- return EXIT_SUCCESS;
- }
|