Skip to content

Commit 9dd2d0c

Browse files
committed
Renames non polarised TF to normal TF
1 parent c0efe70 commit 9dd2d0c

File tree

58 files changed

+72
-72
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+72
-72
lines changed

API/createProject.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
% absorption terms are included in the refractive index.
88
% All of the arguments are optional.
99
%
10-
% project = createProject(name='New experiment', calc='non polarised');
10+
% project = createProject(name='New experiment', calc='normal');
1111
arguments
1212
options.name {mustBeTextScalar} = ''
13-
options.calcType = calculationTypes.NonPolarised
13+
options.calcType = calculationTypes.Normal
1414
options.model = modelTypes.StandardLayers
1515
options.geometry = geometryOptions.AirSubstrate
1616
options.absorption {mustBeA(options.absorption,'logical')} = false

API/enums/calculationTypes.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
end
1515

1616
enumeration
17-
NonPolarised ('non polarised')
17+
Normal ('normal')
1818
Domains ('domains')
1919
OilWater ('oil water')
2020
Magnetic ('magnetic')

API/makeEmptyResultStruct.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
%
55
% nParams = number of fitted parameters
66
% nContrasts = number of contrasts
7-
% nDomains = number of domains - 1 for non-polarised, 2 for domains
7+
% nDomains = number of domains - 1 for normal, 2 for domains
88
%
99
% result =
1010
%

API/projectClass/domainsClass.m

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,10 @@
5353
% Alias of the converter routine from domainsClass to
5454
% projectClass.
5555
% This routine takes the currently defined project and
56-
% converts it to a nonPolarised calculation, preserving all
56+
% converts it to a normal calculation, preserving all
5757
% currently defined properties.
5858
%
59-
% nonPolarisedProject = project.toProjectClass();
59+
% normalProject = project.toProjectClass();
6060
projectObj = obj.projectClass();
6161
end
6262

@@ -245,11 +245,11 @@
245245
function projectObj = projectClass(obj)
246246
% Converter routine from domainsClass to projectClass.
247247
% This routine takes the currently defined project and
248-
% converts it to a nonPolarised calculation, preserving all
248+
% converts it to a normal calculation, preserving all
249249
% currently defined properties.
250250
%
251-
% nonPolarisedProject = project.projectClass();
252-
projectObj = projectClass(obj.experimentName, calculationTypes.NonPolarised, obj.modelType, obj.geometry, obj.absorption);
251+
% normalProject = project.projectClass();
252+
projectObj = projectClass(obj.experimentName, calculationTypes.Normal, obj.modelType, obj.geometry, obj.absorption);
253253
projectObj = copyProperties(obj, projectObj);
254254

255255
% Need to treat contrasts separately due to changes in the

API/projectClass/projectClass.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
% project = projectClass('New experiment');
6565
arguments
6666
experimentName {mustBeTextScalar} = ''
67-
calculationType = calculationTypes.NonPolarised
67+
calculationType = calculationTypes.Normal
6868
modelType = modelTypes.StandardLayers
6969
geometry = geometryOptions.AirSubstrate
7070
absorption {mustBeA(absorption,'logical')} = false

examples/domains/README.md

Lines changed: 1 addition & 1 deletion

examples/miscellaneous/absorption/absorptionDPPC50.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33

44
% Set up the initial project....
5-
problem = createProject(name = 'DPPC_50_3pcBins', calcType = 'non polarised',...
5+
problem = createProject(name = 'DPPC_50_3pcBins', calcType = 'normal',...
66
model = 'custom layers', geometry = 'substrate/liquid', absorption = true);
77

88
% Add the required parameters (substrate reference as already there by default)....

examples/miscellaneous/backgroundTypes/DSPCScriptWithDataBackground.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
% Standard Layers fit of a DSPC floating bilayer
22

33
% Make the project
4-
problem = createProject(name='original_dspc_bilayer', calcType='non polarised', model='standard layers', geometry='substrate/liquid', absorption=false);
4+
problem = createProject(name='original_dspc_bilayer', calcType='normal', model='standard layers', geometry='substrate/liquid', absorption=false);
55

66
% Make priors visible
77
problem.showPriors(true);

examples/miscellaneous/backgroundTypes/DSPCScriptWithFunctionBackground.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
% Standard Layers fit of a DSPC floating bilayer
22

33
% Make the project
4-
problem = createProject(name='original_dspc_bilayer', calcType='non polarised', model='standard layers', geometry='substrate/liquid', absorption=false);
4+
problem = createProject(name='original_dspc_bilayer', calcType='normal', model='standard layers', geometry='substrate/liquid', absorption=false);
55

66
% Make priors visible
77
problem.showPriors(true);

examples/normalReflectivity/README.md

Lines changed: 2 additions & 2 deletions

0 commit comments

Comments
 (0)