Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F95016386
wrapper_bayesis.hpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Thu, Dec 12, 04:33
Size
1 KB
Mime Type
text/x-c
Expires
Sat, Dec 14, 04:33 (1 d, 22 h)
Engine
blob
Format
Raw Data
Handle
22913730
Attached To
R1448 Lenstool-HPC
wrapper_bayesis.hpp
View Options
#ifndef WRAPPER_BAYESYS_H
#define WRAPPER_BAYESYS_H
// Include
#include <iostream>
//#include "module_readParameters.hpp"
#include "module_cosmodistances.hpp"
#include <cstring>
#include <sstream>
#include <stdlib.h>
#include <structure_hpc.hpp>
#include "bayesys3.h"
#include "random.h"
#include "userstr.h"
#include <allocation_GPU.cuh>
#include <allocation.hpp>
#include <module_readParameters.hpp>
int
runBayeSys3 (void
(*chi2_function) (double*, int*, struct runmode_param *, const struct Potential_SOA*, const struct grid_param *, const int*, galaxy*),
char* FOLDER, runmode_param *runmode, grid_param *frame, Potential_SOA* potentials, potentialoptimization *potentialsToOptimize, galaxy* images,
int * nImagesSet, double BayeSys3Rate, int useGPU);
int BayeSys3_getNumberDim (int &numberDim, potentialoptimization potentialsToOptimize[], int nhalos);
int BayeSys3_calculateChi2 (double &chi2, CommonStr* Common);
int BayeSys3_rescaleCube_1Atom (double *cube, CommonStr* Common);
int BayeSys3_rescaleParam (int haloID, std::string parameterID, double *parameterValue, CommonStr* Common);
double BayeSys3_prior (CommonStr* Common, double parameterValue, double min, double max);
double BayeSys3_uniformPrior (double val, double min, double max);
double BayeSys3_calculateLogLikelihood (double &chi2, int &error, CommonStr* Common);
int BayeSys3_setReferencePotential (CommonStr* Common);
int module_BayeSys3_addStatistics (double value, UserCommonStr *UserCommon, int param, long int totalNumberSamples);
int BayeSys3_returnBestPotential (Potential_SOA * potentials, CommonStr* Common);
#endif
Event Timeline
Log In to Comment