EcoliSimulator
2.0.1a
|
#include <iostream>
#include <iomanip>
#include <fstream>
#include <cmath>
#include "GlobalVariables.h"
#include "GnuplotGlobal.h"
#include "sssr.h"
#include "E_Coli.h"
#include "ParameterEstimation_E_Coli.h"
#include "EO_rExp_tExp.h"
#include "CV_rIG_tExp.h"
#include "CV_rExp_tExp.h"
#include "Molecular_rExp_tExp.h"
#include "Funz_C.h"
#include "setSizesTitles.hpp"
Macros | |
#define | max(a, b) ( ((a) > (b)) ? (a) : (b) ) |
#define | min(a, b) ( ((a) < (b)) ? (a) : (b) ) |
Functions | |
void | lunch_gnuplot (string name_file_gnu) |
void | gnuplot_run (string names[], string nome_info, double mean, int tipo_run, int save_, int cont_sim) |
void | Name_jumps (std::string name_file_read, std::string names[], int delete_) |
double | Analysis_run (string name_file_read, string names[], int run) |
string | setNameScriptgnuplotSingleGeneral (string tipo, int con_gen_sim, int save_) |
string | setNameSCRIPTlunchGnuplotSingleGeneral (string tipo, int con_gen_sim, int save_) |
#define max | ( | a, | |
b | |||
) | ( ((a) > (b)) ? (a) : (b) ) |
#define min | ( | a, | |
b | |||
) | ( ((a) < (b)) ? (a) : (b) ) |
double Analysis_run | ( | string | name_file_read, |
string | names[], | ||
int | run | ||
) |
This function analysis the runs and tumbles: the function save temporaly the data in file r_u.txt etc. (see line 73) divide up/down gradient and prepare lateX file for analysis run/tumble
run==1 | run, else analysis tumbles |
name_file_read | name where run/tumble are saved. |
void gnuplot_run | ( | string | names[], |
string | nome_info, | ||
double | mean, | ||
int | tipo_run, | ||
int | save_, | ||
int | cont_sim | ||
) |
function to plot the run or tumbles
void lunch_gnuplot | ( | string | name_file_gnu | ) |
This function lunch the script name_file_gnu via gnuplot It is not used everytime since it has been written not at the beginning of the devopment of the softwer. You might want to substitute other command with this function
name_file_gnu | name of script to pass to gnuplot |
void Name_jumps | ( | std::string | name_file_read, |
std::string | names[], | ||
int | delete_ | ||
) |
This function set the names for the file with data on run/tumble. It takes a basic name and up the suffix with the indication of the type (up/down etc. gradient) if delete ==0 we delete the files with these names
string setNameScriptgnuplotSingleGeneral | ( | string | tipo, |
int | con_gen_sim, | ||
int | save_ | ||
) |
set name for the general plot 1 baccterium - script
string setNameSCRIPTlunchGnuplotSingleGeneral | ( | string | tipo, |
int | con_gen_sim, | ||
int | save_ | ||
) |
set name for the SCRIPT to lunch general plot 1 baccterium - script