23 fprintf(
ioQQQ,
"grid_do: too many parameters are varied, increase LIMPAR\n" );
38 for( i=0; i<nInterpVars; i++ )
45 fprintf(
ioQQQ,
" PROBLEM The 'save XSPEC' and 'grid list' options do not work together.\n" );
46 fprintf(
ioQQQ,
" If any 'save XSPEC' command is given, all grid commands must follow this syntax:\n" );
48 fprintf(
ioQQQ,
" where p1 and p2 are the limits and p3 is a regular increment.\n Sorry.\n" );
101 for( j=0; j<nInterpVars; j++ )
104 long volumeOtherDimensions = 1;
111 for(
long k=j+1; k<nInterpVars; k++ )
141 variableVector[j] = xc[j];
150 variableVector[j] = log10(variableVector[j]);
153 for( j=nInterpVars; j<
LIMPAR; j++ )
155 variableVector[j] = xc[j];
160 fixit(
"is this needed ??");
179 fprintf(
ioQQQ,
" Cannot save xspec files unless doing a grid.\n" );
void GridRetrieveXSPECData(int option)
chi2_type optimize_func(const realnum param[], int grid_index=-1)
void cdSPEC2(int Option, realnum ReturnedSpectrum[])
realnum ** interpParameters
long numParamValues[LIMPAR]
const int NUM_OUTPUT_TYPES
vector< realnum > paramValuesFromList[LIMPAR]
multi_arr< realnum, 3 > Spectra
bool lgOptimizeAsLinear[LIMPAR]
bool lgLinearIncrements[LIMPAR]
void reserve(size_type i1)
#define DEBUG_ENTRY(funcname)
bool lgOutputTypeOn[NUM_OUTPUT_TYPES]
realnum paramIncrements[LIMPAR]
int fprintf(const Output &stream, const char *format,...)
void gridXspec(realnum *, long)