Skip to content

Commit

Permalink
Re #3 final modification of the svn version
Browse files Browse the repository at this point in the history
  • Loading branch information
abuts committed Apr 9, 2019
1 parent 7c44abc commit fdd0276
Show file tree
Hide file tree
Showing 600 changed files with 600 additions and 605 deletions.
2 changes: 1 addition & 1 deletion @d0d/calculate_q_bins.m
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

% Original author: T.G.Perring
%
% $Revision:: 1750 ($Date:: 2019-04-08 17:55:21 +0100 (Mon, 8 Apr 2019) $)
% $Revision:: 1750 ($Date:: 2019-04-09 10:04:04 +0100 (Tue, 9 Apr 2019) $)

% ----- The following shoudld be independent of d0d, d1d,...d4d ------------
% Work via sqw class type
Expand Down
2 changes: 1 addition & 1 deletion @d0d/calculate_qw_bins.m
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

% Original author: T.G.Perring
%
% $Revision:: 1750 ($Date:: 2019-04-08 17:55:21 +0100 (Mon, 8 Apr 2019) $)
% $Revision:: 1750 ($Date:: 2019-04-09 10:04:04 +0100 (Tue, 9 Apr 2019) $)

% ----- The following shoudld be independent of d0d, d1d,...d4d ------------
% Work via sqw class type
Expand Down
2 changes: 1 addition & 1 deletion @d0d/change_crystal.m
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@

% Original author: T.G.Perring
%
% $Revision:: 1750 ($Date:: 2019-04-08 17:55:21 +0100 (Mon, 8 Apr 2019) $)
% $Revision:: 1750 ($Date:: 2019-04-09 10:04:04 +0100 (Tue, 9 Apr 2019) $)

% ----- The following shoudld be independent of d0d, d1d,...d4d ------------
% Work via sqw class type
Expand Down
2 changes: 1 addition & 1 deletion @d0d/compact.m
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

% Original author: T.G.Perring
%
% $Revision:: 1750 ($Date:: 2019-04-08 17:55:21 +0100 (Mon, 8 Apr 2019) $)
% $Revision:: 1750 ($Date:: 2019-04-09 10:04:04 +0100 (Tue, 9 Apr 2019) $)


% ----- The following shoudld be independent of d0d, d1d,...d4d ------------
Expand Down
2 changes: 1 addition & 1 deletion @d0d/copydata.m
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@

% Original author: T.G.Perring
%
% $Revision:: 1750 ($Date:: 2019-04-08 17:55:21 +0100 (Mon, 8 Apr 2019) $)
% $Revision:: 1750 ($Date:: 2019-04-09 10:04:04 +0100 (Tue, 9 Apr 2019) $)


% ----- The following shoudld be independent of d0d, d1d,...d4d ------------
Expand Down
2 changes: 1 addition & 1 deletion @d0d/d0d.m
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@

% Original author: T.G.Perring
%
% $Revision:: 1750 ($Date:: 2019-04-08 17:55:21 +0100 (Mon, 8 Apr 2019) $)
% $Revision:: 1750 ($Date:: 2019-04-09 10:04:04 +0100 (Tue, 9 Apr 2019) $)


ndim_request = 0;
Expand Down
2 changes: 1 addition & 1 deletion @d0d/dimensions.m
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

% Original author: T.G.Perring
%
% $Revision:: 1750 ($Date:: 2019-04-08 17:55:21 +0100 (Mon, 8 Apr 2019) $)
% $Revision:: 1750 ($Date:: 2019-04-09 10:04:04 +0100 (Tue, 9 Apr 2019) $)

nd=numel(w.pax);
sz=zeros(1,nd);
Expand Down
2 changes: 1 addition & 1 deletion @d0d/dispersion.m
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@

% Original author: T.G.Perring
%
% $Revision:: 1750 ($Date:: 2019-04-08 17:55:21 +0100 (Mon, 8 Apr 2019) $)
% $Revision:: 1750 ($Date:: 2019-04-09 10:04:04 +0100 (Tue, 9 Apr 2019) $)


% ----- The following shoudld be independent of d0d, d1d,...d4d ------------
Expand Down
2 changes: 1 addition & 1 deletion @d0d/display.m
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ function display(w)

% Original author: T.G.Perring
%
% $Revision:: 1750 ($Date:: 2019-04-08 17:55:21 +0100 (Mon, 8 Apr 2019) $)
% $Revision:: 1750 ($Date:: 2019-04-09 10:04:04 +0100 (Tue, 9 Apr 2019) $)

class_name = class(w);
if isempty(w)
Expand Down
2 changes: 1 addition & 1 deletion @d0d/get.m
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

% Original author: T.G.Perring
%
% $Revision:: 1750 ($Date:: 2019-04-08 17:55:21 +0100 (Mon, 8 Apr 2019) $)
% $Revision:: 1750 ($Date:: 2019-04-09 10:04:04 +0100 (Tue, 9 Apr 2019) $)

% Edited from:
% A Comprehensive Guide to Object Oriented Programming in MATLAB
Expand Down
2 changes: 1 addition & 1 deletion @d0d/head.m
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

% Original author: T.G.Perring
%
% $Revision:: 1750 ($Date:: 2019-04-08 17:55:21 +0100 (Mon, 8 Apr 2019) $)
% $Revision:: 1750 ($Date:: 2019-04-09 10:04:04 +0100 (Tue, 9 Apr 2019) $)

% ----- The following shoudld be independent of d0d, d1d,...d4d ------------
% Work via sqw class type
Expand Down
2 changes: 1 addition & 1 deletion @d0d/isvalid.m
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@

% Original author: T.G.Perring
%
% $Revision:: 1750 ($Date:: 2019-04-08 17:55:21 +0100 (Mon, 8 Apr 2019) $)
% $Revision:: 1750 ($Date:: 2019-04-09 10:04:04 +0100 (Tue, 9 Apr 2019) $)

[ok,mess] = checkfields(struct(w));
2 changes: 1 addition & 1 deletion @d0d/mask.m
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

% Original author: T.G.Perring
%
% $Revision:: 1750 ($Date:: 2019-04-08 17:55:21 +0100 (Mon, 8 Apr 2019) $)
% $Revision:: 1750 ($Date:: 2019-04-09 10:04:04 +0100 (Tue, 9 Apr 2019) $)


% ----- The following shoudld be independent of d0d, d1d,...d4d ------------
Expand Down
2 changes: 1 addition & 1 deletion @d0d/mask_points.m
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@

% Original author: T.G.Perring
%
% $Revision:: 1750 ($Date:: 2019-04-08 17:55:21 +0100 (Mon, 8 Apr 2019) $)
% $Revision:: 1750 ($Date:: 2019-04-09 10:04:04 +0100 (Tue, 9 Apr 2019) $)


% ----- The following shoudld be independent of d0d, d1d,...d4d ------------
Expand Down
2 changes: 1 addition & 1 deletion @d0d/permute.m
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@

% Original author: T.G.Perring
%
% $Revision:: 1750 ($Date:: 2019-04-08 17:55:21 +0100 (Mon, 8 Apr 2019) $)
% $Revision:: 1750 ($Date:: 2019-04-09 10:04:04 +0100 (Tue, 9 Apr 2019) $)

wout=win;
2 changes: 1 addition & 1 deletion @d0d/private/binary_op_manager.m
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

% Original author: T.G.Perring
%
% $Revision:: 1750 ($Date:: 2019-04-08 17:55:21 +0100 (Mon, 8 Apr 2019) $)
% $Revision:: 1750 ($Date:: 2019-04-09 10:04:04 +0100 (Tue, 9 Apr 2019) $)


% Get array sizes of the input arguments
Expand Down
2 changes: 1 addition & 1 deletion @d0d/private/binary_op_manager_single.m
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

% Original author: T.G.Perring
%
% $Revision:: 1750 ($Date:: 2019-04-08 17:55:21 +0100 (Mon, 8 Apr 2019) $)
% $Revision:: 1750 ($Date:: 2019-04-09 10:04:04 +0100 (Tue, 9 Apr 2019) $)


if ~isa(w1,'double') && ~isa(w2,'double')
Expand Down
2 changes: 1 addition & 1 deletion @d0d/private/checkfields.m
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

% Original author: T.G.Perring
%
% $Revision:: 1750 ($Date:: 2019-04-08 17:55:21 +0100 (Mon, 8 Apr 2019) $)
% $Revision:: 1750 ($Date:: 2019-04-09 10:04:04 +0100 (Tue, 9 Apr 2019) $)

% Non-ideal routine:
% Because we go via sqw objects to make d0d,d1d... the only
Expand Down
2 changes: 1 addition & 1 deletion @d0d/private/classname.m
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

% Original author: T.G.Perring
%
% $Revision:: 1750 ($Date:: 2019-04-08 17:55:21 +0100 (Mon, 8 Apr 2019) $)
% $Revision:: 1750 ($Date:: 2019-04-09 10:04:04 +0100 (Tue, 9 Apr 2019) $)

% Generic function

Expand Down
2 changes: 1 addition & 1 deletion @d0d/private/display_single.m
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ function display_single (w)

% Original author: T.G.Perring
%
% $Revision:: 1750 ($Date:: 2019-04-08 17:55:21 +0100 (Mon, 8 Apr 2019) $)
% $Revision:: 1750 ($Date:: 2019-04-09 10:04:04 +0100 (Tue, 9 Apr 2019) $)

% ----- The following shoudld be independent of d0d, d1d,...d4d ------------
% Work via sqw class type
Expand Down
2 changes: 1 addition & 1 deletion @d0d/read.m
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

% Original author: T.G.Perring
%
% $Revision:: 1750 ($Date:: 2019-04-08 17:55:21 +0100 (Mon, 8 Apr 2019) $)
% $Revision:: 1750 ($Date:: 2019-04-09 10:04:04 +0100 (Tue, 9 Apr 2019) $)

% ----- The following should be independent of dnd, n=0,1,2,3,4 ------------
% Work via sqw class type
Expand Down
2 changes: 1 addition & 1 deletion @d0d/refine_crystal.m
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

% Original author: T.G.Perring
%
% $Revision:: 1750 ($Date:: 2019-04-08 17:55:21 +0100 (Mon, 8 Apr 2019) $)
% $Revision:: 1750 ($Date:: 2019-04-09 10:04:04 +0100 (Tue, 9 Apr 2019) $)


% ----- The following shoudld be independent of d0d, d1d,...d4d ------------
Expand Down
2 changes: 1 addition & 1 deletion @d0d/replicate.m
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

% Original author: T.G.Perring
%
% $Revision:: 1750 ($Date:: 2019-04-08 17:55:21 +0100 (Mon, 8 Apr 2019) $)
% $Revision:: 1750 ($Date:: 2019-04-09 10:04:04 +0100 (Tue, 9 Apr 2019) $)


% ----- The following shoudld be independent of d0d, d1d,...d4d ------------
Expand Down
2 changes: 1 addition & 1 deletion @d0d/save.m
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ function save (w, file)

% Original author: T.G.Perring
%
% $Revision:: 1750 ($Date:: 2019-04-08 17:55:21 +0100 (Mon, 8 Apr 2019) $)
% $Revision:: 1750 ($Date:: 2019-04-09 10:04:04 +0100 (Tue, 9 Apr 2019) $)


extension='d0d';
Expand Down
2 changes: 1 addition & 1 deletion @d0d/section.m
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

% Original author: T.G.Perring
%
% $Revision:: 1750 ($Date:: 2019-04-08 17:55:21 +0100 (Mon, 8 Apr 2019) $)
% $Revision:: 1750 ($Date:: 2019-04-09 10:04:04 +0100 (Tue, 9 Apr 2019) $)


% ----- The following shoudld be independent of d0d, d1d,...d4d ------------
Expand Down
2 changes: 1 addition & 1 deletion @d0d/set.m
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

% Original author: T.G.Perring
%
% $Revision:: 1750 ($Date:: 2019-04-08 17:55:21 +0100 (Mon, 8 Apr 2019) $)
% $Revision:: 1750 ($Date:: 2019-04-09 10:04:04 +0100 (Tue, 9 Apr 2019) $)

% Based on:
% A Comprehensive Guide to Object Oriented Programming in MATLAB
Expand Down
2 changes: 1 addition & 1 deletion @d0d/sigvar.m
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

% Original author: T.G.Perring
%
% $Revision:: 1750 ($Date:: 2019-04-08 17:55:21 +0100 (Mon, 8 Apr 2019) $)
% $Revision:: 1750 ($Date:: 2019-04-09 10:04:04 +0100 (Tue, 9 Apr 2019) $)

wout = sigvar(w.s, w.e);

2 changes: 1 addition & 1 deletion @d0d/sigvar_get.m
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

% Original author: T.G.Perring
%
% $Revision:: 1750 ($Date:: 2019-04-08 17:55:21 +0100 (Mon, 8 Apr 2019) $)
% $Revision:: 1750 ($Date:: 2019-04-09 10:04:04 +0100 (Tue, 9 Apr 2019) $)

s = w.s;
var = w.e;
Expand Down
2 changes: 1 addition & 1 deletion @d0d/sigvar_set.m
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

% Original author: T.G.Perring
%
% $Revision:: 1750 ($Date:: 2019-04-08 17:55:21 +0100 (Mon, 8 Apr 2019) $)
% $Revision:: 1750 ($Date:: 2019-04-09 10:04:04 +0100 (Tue, 9 Apr 2019) $)

if ~isequal(size(w.s),size(sigvarobj.s))
error('d0d object and sigvar object have inconsistent sizes')
Expand Down
2 changes: 1 addition & 1 deletion @d0d/sigvar_size.m
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@

% Original author: T.G.Perring
%
% $Revision:: 1750 ($Date:: 2019-04-08 17:55:21 +0100 (Mon, 8 Apr 2019) $)
% $Revision:: 1750 ($Date:: 2019-04-09 10:04:04 +0100 (Tue, 9 Apr 2019) $)

sz = size(w.s);
2 changes: 1 addition & 1 deletion @d0d/sqw.m
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

% Original author: T.G.Perring
%
% $Revision:: 1750 ($Date:: 2019-04-08 17:55:21 +0100 (Mon, 8 Apr 2019) $)
% $Revision:: 1750 ($Date:: 2019-04-09 10:04:04 +0100 (Tue, 9 Apr 2019) $)

% ----- The following shoudld be independent of d0d, d1d,...d4d ------------
% Work via sqw class type
Expand Down
2 changes: 1 addition & 1 deletion @d1d/IX_dataset_1d.m
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@

% Original author: T.G.Perring
%
% $Revision:: 1750 ($Date:: 2019-04-08 17:55:21 +0100 (Mon, 8 Apr 2019) $)
% $Revision:: 1750 ($Date:: 2019-04-09 10:04:04 +0100 (Tue, 9 Apr 2019) $)

wout=IX_dataset_1d(sqw(w));
2 changes: 1 addition & 1 deletion @d1d/calculate_q_bins.m
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

% Original author: T.G.Perring
%
% $Revision:: 1750 ($Date:: 2019-04-08 17:55:21 +0100 (Mon, 8 Apr 2019) $)
% $Revision:: 1750 ($Date:: 2019-04-09 10:04:04 +0100 (Tue, 9 Apr 2019) $)

% ----- The following shoudld be independent of d0d, d1d,...d4d ------------
% Work via sqw class type
Expand Down
2 changes: 1 addition & 1 deletion @d1d/calculate_qw_bins.m
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

% Original author: T.G.Perring
%
% $Revision:: 1750 ($Date:: 2019-04-08 17:55:21 +0100 (Mon, 8 Apr 2019) $)
% $Revision:: 1750 ($Date:: 2019-04-09 10:04:04 +0100 (Tue, 9 Apr 2019) $)

% ----- The following shoudld be independent of d0d, d1d,...d4d ------------
% Work via sqw class type
Expand Down
2 changes: 1 addition & 1 deletion @d1d/change_crystal.m
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@

% Original author: T.G.Perring
%
% $Revision:: 1750 ($Date:: 2019-04-08 17:55:21 +0100 (Mon, 8 Apr 2019) $)
% $Revision:: 1750 ($Date:: 2019-04-09 10:04:04 +0100 (Tue, 9 Apr 2019) $)

% ----- The following shoudld be independent of d0d, d1d,...d4d ------------
% Work via sqw class type
Expand Down
2 changes: 1 addition & 1 deletion @d1d/compact.m
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

% Original author: T.G.Perring
%
% $Revision:: 1750 ($Date:: 2019-04-08 17:55:21 +0100 (Mon, 8 Apr 2019) $)
% $Revision:: 1750 ($Date:: 2019-04-09 10:04:04 +0100 (Tue, 9 Apr 2019) $)


% ----- The following shoudld be independent of d0d, d1d,...d4d ------------
Expand Down
2 changes: 1 addition & 1 deletion @d1d/copydata.m
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@

% Original author: T.G.Perring
%
% $Revision:: 1750 ($Date:: 2019-04-08 17:55:21 +0100 (Mon, 8 Apr 2019) $)
% $Revision:: 1750 ($Date:: 2019-04-09 10:04:04 +0100 (Tue, 9 Apr 2019) $)


% ----- The following shoudld be independent of d0d, d1d,...d4d ------------
Expand Down
2 changes: 1 addition & 1 deletion @d1d/cut.m
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

% Original author: T.G.Perring
%
% $Revision:: 1750 ($Date:: 2019-04-08 17:55:21 +0100 (Mon, 8 Apr 2019) $)
% $Revision:: 1750 ($Date:: 2019-04-09 10:04:04 +0100 (Tue, 9 Apr 2019) $)


% ----- The following should be independent of d0d, d1d,...d4d ------------
Expand Down
2 changes: 1 addition & 1 deletion @d1d/d1d.m
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@

% Original author: T.G.Perring
%
% $Revision:: 1750 ($Date:: 2019-04-08 17:55:21 +0100 (Mon, 8 Apr 2019) $)
% $Revision:: 1750 ($Date:: 2019-04-09 10:04:04 +0100 (Tue, 9 Apr 2019) $)


ndim_request = 1;
Expand Down
2 changes: 1 addition & 1 deletion @d1d/dimensions.m
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

% Original author: T.G.Perring
%
% $Revision:: 1750 ($Date:: 2019-04-08 17:55:21 +0100 (Mon, 8 Apr 2019) $)
% $Revision:: 1750 ($Date:: 2019-04-09 10:04:04 +0100 (Tue, 9 Apr 2019) $)

nd=numel(w.pax);
sz=zeros(1,nd);
Expand Down
2 changes: 1 addition & 1 deletion @d1d/dispersion.m
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@

% Original author: T.G.Perring
%
% $Revision:: 1750 ($Date:: 2019-04-08 17:55:21 +0100 (Mon, 8 Apr 2019) $)
% $Revision:: 1750 ($Date:: 2019-04-09 10:04:04 +0100 (Tue, 9 Apr 2019) $)


% ----- The following shoudld be independent of d0d, d1d,...d4d ------------
Expand Down
2 changes: 1 addition & 1 deletion @d1d/display.m
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ function display(w)

% Original author: T.G.Perring
%
% $Revision:: 1750 ($Date:: 2019-04-08 17:55:21 +0100 (Mon, 8 Apr 2019) $)
% $Revision:: 1750 ($Date:: 2019-04-09 10:04:04 +0100 (Tue, 9 Apr 2019) $)

class_name = class(w);
if isempty(w)
Expand Down
2 changes: 1 addition & 1 deletion @d1d/fit_legacy.m
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@

% Original author: T.G.Perring
%
% $Revision:: 1750 ($Date:: 2019-04-08 17:55:21 +0100 (Mon, 8 Apr 2019) $)
% $Revision:: 1750 ($Date:: 2019-04-09 10:04:04 +0100 (Tue, 9 Apr 2019) $)


% ----- The following shoudld be independent of d0d, d1d,...d4d ------------
Expand Down
2 changes: 1 addition & 1 deletion @d1d/fit_legacy_func.m
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@

% Original author: T.G.Perring
%
% $Revision:: 1750 ($Date:: 2019-04-08 17:55:21 +0100 (Mon, 8 Apr 2019) $)
% $Revision:: 1750 ($Date:: 2019-04-09 10:04:04 +0100 (Tue, 9 Apr 2019) $)


% ----- The following shoudld be independent of d0d, d1d,...d4d ------------
Expand Down
Loading

0 comments on commit fdd0276

Please sign in to comment.