Go to the source code of this file.
|
| Brian | Staber (brian.staber @gmail.com) % function output |
| |
| | writeXMLParameterList (xmlfilename, modelParameters.mu,... modelParameters.beta,... modelParameters.lc,... modelParameters.delta,... optimParameters.nmc,... optimParameters.station) |
| |
| | if (optimParameters.station==44) executable |
| |
| | if (s~=0) fprintf('Trilinos program failed.\n') |
| |
| | Y (:, j+1) |
| |
| | Yexp (:, k) |
| |
| P | sum () |
| |
| output | m (i) |
| |
| | if (isempty(pts)==0) [pdf |
| |
| end end end | unix (strcat('rm/home/s/staber/Trilinos_results/nrl/random_generator_for_pca_likeliehood/station', num2str(optimParameters.station),'/*')) |
| |
|
| end | xmlfilename = strcat('nrl.msme.station',num2str(optimParameters.station),'.xml') |
| |
| else | executable |
| |
| end | s = unix(executable) |
| |
| | return |
| |
| end | theta = ['15' |
| |
| | theta_to_id = [5,6 |
| |
| output | eta = cell(4,1) |
| |
| output | etaExp = cell(4,1) |
| |
| output | m = zeros(4,1) |
| |
| output | fval = 0 |
| |
| for | i |
| |
| | Yexp = zeros(2355,2) |
| |
| for | j |
| |
| | filename = strcat(path, '/RandomVariableY_angle=',num2str(theta(i,:)),'_nmc=',num2str(j),'.mtx') |
| |
| end | meanY = mean(Y,2) |
| |
| | meanYexp = mean(Yexp,2) |
| |
| output | Y {i} = Y |
| |
| for | k |
| |
| | exx = dlmread(filename) |
| |
| | eyy = dlmread(filename) |
| |
| | exy = dlmread(filename) |
| |
| | CovarianceMatrix = cov(Y') |
| |
| | L = L(:,idx) |
| |
| | err = [1 |
| |
| for | l |
| |
| | pts = find(output.etaExp{i}(l,:)>=min(supp) & output.etaExp{i}(l,:)<=max(supp)) |
| |
◆ if() [1/3]
| if |
( |
optimParameters. |
station = =44 | ) |
|
◆ if() [2/3]
◆ if() [3/3]
◆ m()
◆ Staber()
| Brian Staber |
( |
brian.staber @gmail. |
com | ) |
|
◆ sum()
◆ unix()
◆ writeXMLParameterList()
| writeXMLParameterList |
( |
xmlfilename |
, |
|
|
modelParameters. |
mu, |
|
|
... modelParameters. |
beta, |
|
|
... modelParameters. |
lc, |
|
|
... modelParameters. |
delta, |
|
|
... optimParameters. |
nmc, |
|
|
... optimParameters. |
station |
|
) |
| |
◆ Y()
◆ Yexp()
◆ CovarianceMatrix
| CovarianceMatrix = cov(Y') |
◆ err
◆ eta
◆ etaExp
◆ executable
Initial value:= strcat('/usr/local/apps/petsc-3.7.6/gnu-mpich/bin/mpirun -np', 32, num2str(optimParameters.np), 32, './trilinos_mpi_', ...
num2str(optimParameters.station), 32,
'--xml-in-file="',
xmlfilename,
'"')
Definition at line 21 of file costFunction.m.
◆ exx
◆ exy
◆ eyy
◆ filename
| filename = strcat(path, '/RandomVariableY_angle=',num2str(theta(i,:)),'_nmc=',num2str(j),'.mtx') |
◆ fval
Initial value:= 1:4
Y = zeros(2355,optimParameters.nmc)
Definition at line 38 of file costFunction.m.
Initial value:= 0:optimParameters.nmc-1
path = strcat('/home/
s/staber/Trilinos_results/nrl/random_generator_for_pca_likelihood/
station',num2str(optimParameters.
station))
Definition at line 42 of file costFunction.m.
◆ meanY
◆ meanYexp
◆ pts
◆ return
◆ theta
◆ theta_to_id
◆ xmlfilename
◆ Yexp
| end output Yexp = zeros(2355,2) |