Skip to content

Unifies variable naming conventions#187

Merged
DrPaulSharp merged 11 commits intoRascalSoftware:masterfrom
DrPaulSharp:rename
Jan 9, 2024
Merged

Unifies variable naming conventions#187
DrPaulSharp merged 11 commits intoRascalSoftware:masterfrom
DrPaulSharp:rename

Conversation

@DrPaulSharp
Copy link
Collaborator

No description provided.

Copy link
Collaborator

@StephenNneji StephenNneji left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are a lot of occurrences of shifted_dat still in the code please fix if possible.

please replace shifted_data in compile/events/eventManagerInterface.cpp with shiftedData

result.shifted_data = results{3}; % Data corrected for sfs
result.simulation = results{2}; % Reflectivity between sim limits
result.shiftedData = results{3}; % Data corrected for sfs
result.layerSlds = results{4}; % Layers if defined (i.e. not custolXY)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo: custolXY should be customXY

function problemDef = unpackParams(problemDef,controls)

%Unpack the params out of the fitparsma and otherparams arrays
%Unpack the params out of the fitParamsma and otherparams arrays
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo fitParamsma?

@@ -1,14 +1,14 @@
function [reflect,Simul,shifted_dat] = applyBackgroundCorrection(reflect,Simul,shifted_dat,backg,backsType)
function [reflect,simul,shifted_dat] = applyBackgroundCorrection(reflect,simul,shifted_dat,backgroundParams,contrastBackgroundsType)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missed shifted_dat

@@ -1,4 +1,4 @@
function [reflectivity, Simulation] = callReflectivity(bulkIns,bulkOuts,simLimits,repeatLayers,this_data,layers,ssubs,res,parallel,refType,useImaginary)
function [reflectivity, simulation] = callReflectivity(bulkIns,bulkOuts,simLimits,repeatLayers,this_data,layers,ssubs,res,parallel,refType,useImaginary)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missed res also this_data

testScript.m Outdated
@@ -1,3 +1,4 @@

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

New line?

@DrPaulSharp DrPaulSharp merged commit 20dba85 into RascalSoftware:master Jan 9, 2024
@DrPaulSharp DrPaulSharp deleted the rename branch January 9, 2024 10:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants