Commit 647e94c2 authored by Johan Richard's avatar Johan Richard
Browse files

added header for double shapemodel in bayes.dat

parent 752d044c
...@@ -614,7 +614,7 @@ void o_print_res(double chi0, double evidence) ...@@ -614,7 +614,7 @@ void o_print_res(double chi0, double evidence)
if( sblock[i][STHETA] ) if( sblock[i][STHETA] )
fprintf(besto, "\ts_angle %d %.6lf %.6lf\n", sblock[i][STHETA], smin[i].E.theta * RTD, smax[i].E.theta * RTD); fprintf(besto, "\ts_angle %d %.6lf %.6lf\n", sblock[i][STHETA], smin[i].E.theta * RTD, smax[i].E.theta * RTD);
if( sblock[i][SFLUX] ) if( sblock[i][SFLUX] )
fprintf(besto, "\tmag %d %.6lf %.6lf\n", sblock[i][SFLUX], smin[i].mag, smax[i].mag); fprintf(besto, "\ts_mag %d %.6lf %.6lf\n", sblock[i][SFLUX], smin[i].mag, smax[i].mag);
if( sblock[i][SINDEX] ) if( sblock[i][SINDEX] )
fprintf(besto, "\tindex %d %.6lf %.6lf\n", sblock[i][SINDEX], smin[i].var1, smax[i].var1); fprintf(besto, "\tindex %d %.6lf %.6lf\n", sblock[i][SINDEX], smin[i].var1, smax[i].var1);
if(source[i].type==6) //double Sersic if(source[i].type==6) //double Sersic
......
...@@ -486,7 +486,7 @@ int bayesHeader() ...@@ -486,7 +486,7 @@ int bayesHeader()
extern struct g_source S; extern struct g_source S;
for ( i = 0; i < S.ns; i++ ) for ( i = 0; i < S.ns; i++ )
for ( ipx = SCX; ipx <= SFLUX; ipx++ ) for ( ipx = SCX; ipx <= SFLUX2; ipx++ )
if ( sblock[i][ipx] != 0 ) if ( sblock[i][ipx] != 0 )
{ {
nDim++; nDim++;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment