Skip to content

Commit

Permalink
Zeffiro developer: A regular push adding the changes made in the curr…
Browse files Browse the repository at this point in the history
…ent local repository to the remote origin. Contents of the folders ./data/ and ./profile/ are ignored. The update necessitates creating a personal access token.
  • Loading branch information
sampsapursiainen committed Oct 23, 2024
1 parent 9593407 commit 54beca2
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion plugins/HBSampler/m/zef_mcmc.m
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
reconstruction_information.snr_val = eval('zef.inv_snr');
reconstruction_information.pm_val = eval('zef.inv_prior_over_measurement_db');

[L,n_interp, procFile] = zef_processLeadfields(source_direction_mode);
[L,n_interp, procFile] = zef_processLeadfields(zef);

source_count = n_interp;
if eval('zef.inv_normalize_data')==1;
Expand Down
4 changes: 2 additions & 2 deletions plugins/IASInversion/m/zef_ias_iteration.m
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
%Copyright © 2018- Sampsa Pursiainen & ZI Development Team
%See: https://github.com/sampsapursiainen/zeffiro_interface
function [z,reconstruction_information] = ias_iteration(zef)
function [z,reconstruction_information] = zef_ias_iteration(zef)

inverse_gamma_ind = [1:4];
gamma_ind = [5:10];
Expand Down Expand Up @@ -36,7 +36,7 @@
reconstruction_information.snr_val = eval('zef.ias_snr');
reconstruction_information.pm_val = eval('zef.inv_prior_over_measurement_db');

[L,n_interp, procFile] = zef_processLeadfields(source_direction_mode);
[L,n_interp, procFile] = zef_processLeadfields(zef);

source_count = n_interp;
if eval('zef.ias_normalize_data')==1;
Expand Down
2 changes: 1 addition & 1 deletion plugins/IASInversion/m/zef_ias_map_estimation_window.m
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@
'FontUnits','normalized',...
'String','Start',...
'Position',[0.799025551529964 0.04 0.172851888067813 0.0705351159964065],...
'Callback','zef_update_ias; zef.reconstruction = ias_iteration(zef);',...
'Callback','zef_update_ias; zef.reconstruction = zef_ias_iteration(zef);',...
'Children',[],...
'CreateFcn', '' ,...
'Tag','pushbutton12',...
Expand Down
1 change: 1 addition & 0 deletions plugins/Kalman/m/find_evolution_prior.m
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
% db(q/time_step/(svds(L,1)^2 * theta0))

q = time_step*svds(L,1).^(2)*10^(evolution_prior_db/20) * theta0;
%q = time_step*10^(evolution_prior_db/20) * theta0;

end

2 changes: 1 addition & 1 deletion plugins/RAMUSInversion/m/zef_ramus_iteration.m
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
reconstruction_information.snr_val = eval('zef.ramus_snr');
reconstruction_information.pm_val = eval('zef.inv_prior_over_measurement_db');

[L,n_interp, procFile] = zef_processLeadfields(source_direction_mode);
[L,n_interp, procFile] = zef_processLeadfields(zef);

if eval('zef.use_gpu') == 1 & eval('zef.gpu_count') > 0
L = gpuArray(L);
Expand Down
2 changes: 1 addition & 1 deletion plugins/Standardized_L1_Inversion/m/zef_sl1_iteration.m
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
reconstruction_information.snr_val = eval('zef.sl1_snr');
reconstruction_information.pm_val = eval('zef.inv_prior_over_measurement_db');

[L,n_interp, procFile] = zef_processLeadfields(source_direction_mode);
[L,n_interp, procFile] = zef_processLeadfields(zef);

source_count = n_interp;
if eval('zef.sl1_normalize_data')==1;
Expand Down

0 comments on commit 54beca2

Please sign in to comment.