function [data, auxData, metaData, txtData, weights] = mydata_Sepioteuthis_australis

%% set metaData
metaData.phylum     = 'Mollusca'; 
metaData.class      = 'Cephalopoda'; 
metaData.order      = 'Myopsida'; 
metaData.family     = 'Loliginidae';
metaData.species    = 'Sepioteuthis_australis'; 
metaData.species_en = 'Southern reef squid'; 

metaData.ecoCode.climate = {'MB'};
metaData.ecoCode.ecozone = {'MISE'};
metaData.ecoCode.habitat = {'0iMr'};
metaData.ecoCode.embryo  = {'Mp'};
metaData.ecoCode.migrate = {};
metaData.ecoCode.food    = {'bjPz', 'jiCi', 'jiCvf'};
metaData.ecoCode.gender  = {'D'};
metaData.ecoCode.reprod  = {'Os'};

metaData.T_typical  = C2K(28); % K, body temp
metaData.data_0     = {'am'; 'Lp'; 'Li'; 'Wwb'; 'Ni'}; 
metaData.data_1     = {'t-L'; 't-Ww'}; 

metaData.COMPLETE = 2.5; % using criteria of LikaKear2011

metaData.author      = {'Bas Kooijman'};    
metaData.date_subm   = [2021 03 13];              
metaData.email       = {'bas.kooijman@vu.nl'};            
metaData.address     = {'VU University Amsterdam'};   

metaData.author_mod_1   = {'Bas Kooijman'};    
metaData.date_mod_1     = [2023 03 27];              
metaData.email_mod_1    = {'bas.kooijman@vu.nl'};            
metaData.address_mod_1  = {'VU University, Amsterdam'};   

metaData.curator     = {'Starrlight Augustine'};
metaData.email_cur   = {'starrlight@tecnico.ulisboa.pt'}; 
metaData.date_acc    = [2023 03 27];

%% set data
% zero-variate data

data.am = 305;   units.am = 'd';    label.am = 'life span for female';      bibkey.am = 'Peel2000';   
  temp.am = C2K(28); units.temp.am = 'K'; label.temp.am = 'temperature'; 

data.Lp  = 7;  units.Lp  = 'cm'; label.Lp  = 'mantle length at puberty';       bibkey.Lp  = 'Peel2000';
data.Lpm  = 15;  units.Lpm  = 'cm'; label.Lpm  = 'mantle length at puberty for males';       bibkey.Lpm  = 'Peel2000';
data.Li  = 45;  units.Li  = 'cm'; label.Li  = 'mantle length at death for female'; bibkey.Li  = 'Peel2000';
data.Lim = 55; units.Lim = 'cm';label.Lim  = 'mantle length at death for male'; bibkey.Lim  = 'Peel2000';

data.Wwb  = 0.22; units.Wwb  = 'g'; label.Wwb  = 'wet weight at birth'; bibkey.Wwb  = 'Peel2000';
  comment.Wwb = 'based on egg diameter of 5-10 mm: pi/6*0.75^3';

data.Ni  = 380; units.Ni  = '#';      label.Ni  = 'cum reprod at death';      bibkey.Ni  = 'Peel2000';   
  temp.Ni = C2K(28); units.temp.Ni = 'K'; label.temp.Ni = 'temperature';
  
% uni-variate data

% time-length
data.tL_f = [ ... % time since birth (d), mantle length (cm)
2.368	0.803
16.624	0.888
21.376	0.976
24.347	0.886
73.593	6.496
74.176	7.567
80.115	7.655
81.876	9.618
84.299	5.332
88.417	9.081
88.998	10.241
89.040	6.402
91.388	8.991
92.596	7.115
93.145	11.312
95.532	10.329
96.774	5.328
99.708	8.720
99.710	8.542
101.449	12.470
102.064	10.595
102.681	8.452
105.048	9.344
106.286	4.701
106.867	5.861
107.436	8.182
108.051	6.307
108.609	9.611
109.721	16.664
113.380	7.913
113.942	10.859
115.665	16.394
115.745	8.983
116.953	7.108
117.489	12.465
120.459	12.464
122.874	8.892
123.403	14.963
124.054	9.695
125.257	8.266
126.383	14.070
127.492	21.391
128.145	15.944
130.470	20.675
131.753	11.836
132.349	11.657
132.867	18.710
134.044	19.782
134.683	15.585
135.266	16.656
136.496	12.727
136.995	21.566
137.007	20.406
137.019	19.334
137.600	20.495
138.747	24.334
138.802	19.244
140.086	10.405
140.577	19.958
141.115	25.137
141.126	24.065
141.153	21.565
141.160	20.940
141.163	20.672
141.744	21.833
142.355	20.315
142.953	19.957
142.968	18.529
143.524	22.100
144.675	25.493
145.294	23.171
145.913	20.849
146.488	22.635
146.532	18.617
146.536	18.171
147.067	24.063
147.714	19.152
150.082	19.866
151.245	22.276
151.254	21.384
151.291	17.991
154.213	22.454
154.836	19.775
155.380	24.418
155.384	24.061
155.395	22.989
155.936	27.900
156.513	29.507
158.341	25.221
158.977	21.381
160.194	18.702
160.748	22.452
160.754	21.827
161.913	24.595
161.929	23.077
163.185	16.826
163.674	26.558
163.684	25.576
164.888	24.147
165.430	28.969
165.543	18.522
166.039	27.540
166.626	28.254
167.840	25.843
167.896	20.664
168.372	31.557
168.460	23.432
168.467	22.807
169.038	24.860
169.704	18.253
170.792	27.538
171.426	23.788
171.462	20.485
173.170	27.359
173.224	22.359
173.227	22.091
173.883	16.377
174.326	30.305
174.369	26.377
174.905	31.734
174.926	29.769
176.198	22.001
177.329	27.269
177.342	26.108
177.349	25.394
179.162	22.625
179.668	30.750
179.697	28.072
179.714	26.464
184.445	28.427
184.455	27.534
185.138	19.320
185.666	25.391
187.461	24.230
187.998	29.498
191.052	21.729
192.728	31.639
192.744	30.121
193.994	24.407
194.466	35.656
195.166	25.924
195.804	21.817
196.390	22.531
197.496	30.120
199.330	25.387
201.693	26.547
202.794	34.672
205.274	25.028
205.796	31.724
208.198	29.313
209.996	27.884
211.121	33.687
212.960	28.419
226.582	32.254
263.967	36.082];
units.tL_f   = {'d', 'cm'};  label.tL_f = {'time since birth', 'mantle length', 'female'};  
temp.tL_f    = C2K(28);  units.temp.tL_f = 'K'; label.temp.tL_f = 'temperature';
bibkey.tL_f = 'Peel2000';
comment.tL_f = 'data for females'; 
%
data.tL_m = [ ... % time since birth (d), mantle length (cm)
93.138	11.937
105.601	13.094
110.311	17.021
110.350	13.449
118.105	10.411
120.482	10.411
121.022	15.410
125.159	17.373
126.352	16.927
127.428	27.284
129.197	28.533
129.903	18.176
134.659	17.817
135.145	27.817
138.238	16.477
139.940	23.887
142.295	25.851
142.842	30.225
144.056	27.814
145.241	28.082
147.048	25.849
150.023	25.402
150.026	25.134
150.582	28.616
151.160	30.134
151.230	23.616
153.025	22.454
153.554	28.436
154.130	30.133
154.237	20.222
154.833	20.043
155.350	27.186
155.391	23.347
155.398	22.722
156.551	26.025
157.202	20.757
158.313	27.899
159.462	31.470
159.471	30.667
159.576	20.935
160.084	28.881
161.233	32.541
161.297	26.559
162.452	29.684
163.056	28.701
163.645	29.237
163.749	19.594
164.378	16.290
164.845	28.076
165.985	32.540
166.634	27.450
167.314	19.504
167.825	27.182
168.369	31.825
168.959	32.182
169.593	28.521
171.918	33.252
173.156	28.609
174.869	35.037
174.903	31.912
174.943	28.162
174.959	26.734
174.966	26.109
175.487	32.805
176.638	36.287
176.683	32.090
177.864	32.804
178.433	35.036
180.223	34.321
180.306	26.643
182.568	37.267
184.394	33.159
184.398	32.802
184.402	32.445
184.410	31.731
185.680	24.141
186.130	37.445
186.205	30.480
186.271	24.409
187.358	33.784
187.941	34.765
187.981	31.105
187.992	30.033
189.704	36.551
190.344	32.354
190.379	29.050
191.054	21.550
191.510	34.407
191.565	29.318
192.179	27.443
192.185	26.907
193.385	25.746
193.877	35.210
193.953	28.157
194.457	36.549
194.579	25.210
195.654	35.656
199.313	26.905
199.364	22.173
199.835	33.601
199.889	28.601
200.387	37.530
200.970	38.512
202.802	33.958
204.666	26.368
206.301	39.939
209.330	34.491
209.890	37.705
211.170	29.223
211.701	35.026
212.824	41.008
215.249	36.543
216.434	36.811
217.019	37.703
217.042	35.560
217.116	28.685
218.782	39.399
220.643	32.166
221.799	35.113
222.288	44.845
224.702	41.362
224.738	37.969
226.535	36.629
226.639	26.986
227.781	31.271
228.927	35.200
241.378	37.428
244.212	50.017
247.733	54.033
252.047	39.657];
units.tL_m   = {'d', 'cm'};  label.tL_m = {'time since birth', 'mantle length', 'male'};  
temp.tL_m    = C2K(28);  units.temp.tL_m = 'K'; label.temp.tL_m = 'temperature';
bibkey.tL_m = 'Peel2000';
comment.tL_m = 'data for males'; 

% time-weightdata
data.tW_f = [ ... % time since birth (d), wet weight (g)
84.019	35.786
89.618	47.293
94.598	41.688
99.575	58.883
99.579	36.082
103.304	87.456
106.423	47.612
108.277	121.752
116.381	53.502
118.235	127.642
120.102	127.677
120.105	110.576
124.469	70.757
125.703	127.784
128.145	395.745
128.193	127.831
129.433	156.356
130.018	367.279
130.629	429.994
131.902	270.409
132.502	395.828
133.182	70.923
135.019	241.967
135.624	338.884
136.243	361.697
136.274	184.988
136.286	116.584
138.720	430.148
139.329	504.264
139.338	458.661
139.348	401.658
139.989	293.364
140.565	555.590
140.610	304.777
142.472	333.314
142.483	270.610
143.046	606.940
143.051	578.439
143.056	549.937
143.059	532.836
143.068	481.534
144.287	624.065
144.323	424.554
145.513	732.394
145.585	327.673
146.179	487.293
146.190	424.590
146.195	396.088
148.082	287.818
149.294	470.251
149.307	396.147
149.339	219.438
150.563	333.468
154.901	441.856
154.928	287.948
154.939	225.245
156.132	515.984
156.168	316.473
157.320	835.225
157.331	772.521
157.988	578.723
157.992	555.921
158.595	669.940
158.630	470.429
158.654	333.621
159.864	533.156
161.099	584.482
161.115	498.978
161.141	350.769
162.987	470.511
162.990	453.411
162.997	413.508
163.002	385.007
163.006	362.206
164.207	607.342
164.275	225.422
165.462	550.363
166.068	641.580
166.673	744.197
166.678	715.696
166.685	675.793
167.369	328.087
167.892	886.729
167.922	715.719
169.198	544.734
169.203	516.232
169.216	442.128
169.219	425.027
170.407	744.268
170.478	345.247
171.059	578.971
171.112	282.555
171.613	960.903
171.713	402.273
172.296	624.597
172.913	653.111
172.923	596.107
173.580	402.309
174.174	561.929
174.785	624.644
175.471	265.537
176.022	670.271
176.025	653.170
176.030	624.668
176.647	653.182
177.156	1291.628
177.192	1092.117
177.320	368.178
177.875	750.110
178.560	396.703
179.134	670.330
179.149	584.825
179.155	550.623
179.169	470.819
179.177	425.217
179.742	750.146
180.893	1280.298
180.982	778.671
181.619	693.178
186.568	864.282
187.823	807.303
187.912	305.676
188.425	921.321
188.474	647.706
189.687	824.439
189.731	579.326
190.894	1041.074
190.957	687.655
191.487	1206.395
193.455	636.400
194.012	1006.932
197.217	482.563
197.809	653.584
198.405	801.803
198.457	511.088
203.438	499.782
203.935	1206.632
205.922	534.031
208.314	1081.308
210.125	1394.860
210.234	784.927
212.042	1115.580
213.324	910.393
227.605	1098.775
264.841	1709.418];
units.tW_f   = {'d', 'g'};  label.tW_f = {'time since birth', 'wet weight', 'female'};  
temp.tW_f    = C2K(28);  units.temp.tW_f = 'K'; label.temp.tW_f = 'temperature';
bibkey.tW_f = 'Peel2000';
comment.tW_f = 'data for females'; 
%
data.tW_m = [ ... % time since birth (d), mantle length (cm)
92.096	115.744
92.106	58.741
94.590	87.290
107.043	59.025
109.511	184.479
109.517	150.277
110.155	59.084
111.392	104.710
120.114	59.273
123.840	104.947
124.460	122.060
126.301	264.603
128.207	48.026
129.943	789.102
129.980	578.191
131.313	82.287
137.488	361.721
138.060	641.048
138.136	213.525
139.399	110.943
141.880	162.293
143.725	287.735
144.272	709.570
146.844	247.892
148.628	715.353
149.886	641.272
151.139	595.694
151.202	242.275
151.817	282.188
153.012	561.527
153.614	675.545
154.313	248.034
156.045	1006.210
156.090	755.397
156.124	561.586
158.595	669.940
158.610	584.435
159.227	612.948
159.228	612.948
160.393	1057.596
161.138	367.870
161.766	333.680
163.581	630.132
164.872	367.941
164.878	333.740
166.734	396.479
166.764	231.170
168.511	903.841
169.769	829.761
169.846	396.538
172.354	293.979
172.874	869.722
174.132	795.642
174.677	1234.577
175.369	841.268
175.427	516.351
175.973	943.885
175.983	886.882
176.580	1029.402
178.434	1103.541
178.440	1075.040
178.531	562.012
179.782	527.834
180.370	721.656
180.419	442.341
181.545	1109.301
181.641	573.472
183.361	1400.052
183.459	847.122
184.074	892.736
185.369	607.745
185.407	396.833
186.463	1457.114
187.164	1012.502
187.844	693.296
188.365	1263.339
188.401	1058.128
188.524	368.391
189.124	493.809
190.353	579.338
191.629	408.352
191.637	362.750
192.693	1423.030
192.850	539.483
194.068	693.415
194.106	476.803
194.595	1229.256
195.284	853.047
195.877	1018.368
196.491	1063.982
198.336	1189.424
199.668	699.222
199.711	459.809
200.216	1121.056
200.972	368.627
201.466	1086.878
201.961	1805.128
202.099	1029.887
203.923	1275.035
205.253	796.233
205.927	505.529
206.450	1064.171
208.895	1315.032
210.773	1252.364
212.061	1012.975
212.131	613.954
213.760	1953.561
213.868	1349.329
218.093	2090.451
218.750	1896.653
219.525	1035.918
219.547	916.212
220.164	944.725
220.632	1811.183
221.700	2808.761
222.492	1851.121
224.556	745.297
225.223	494.495
226.944	1321.075
228.095	1845.527
230.098	1081.722
232.466	1765.806
242.294	2501.335
247.741	3367.888
247.833	2854.860
255.538	1526.830];
units.tW_m   = {'d', 'g'};  label.tW_m = {'time since birth', 'wet weight', 'male'};  
temp.tW_m    = C2K(28);  units.temp.tW_m = 'K'; label.temp.tW_m = 'temperature';
bibkey.tW_m = 'Peel2000';
comment.tW_m = 'data for males'; 

%% set weights for all real data
weights = setweights(data, []);
weights.tL_f = 5 * weights.tL_f; 
weights.tL_m = 5 * weights.tL_m; 
weights.am = 5 * weights.am; 

%% set pseudodata and respective weights
[data, units, label, weights] = addpseudodata(data, units, label, weights);

%% pack auxData and txtData for output
auxData.temp = temp;
txtData.units = units;
txtData.label = label;
txtData.bibkey = bibkey;
txtData.comment = comment;

%% Group plots
set1 = {'tL_f','tL_m'}; subtitle1 = {'Data for females, males'};
set2 = {'tW_f','tW_m'}; subtitle2 = {'Data for females, males'};
metaData.grp.sets = {set1,set2};
metaData.grp.subtitle = {subtitle1,subtitle2};

%% Discussion points
D1 = 'Males are assumed to differ from females by {p_Am} and E_Hp only';
D2 = 'mod_1: males have equal state variables as females at b';
metaData.discussion = struct('D1',D1, 'D2',D2);

%% Facts
F1 = 'Programmed death, not by ageing';
metaData.bibkey.F1 = 'Wiki'; 
metaData.facts = struct('F1',F1);

%% Links
metaData.links.id_CoL = '6YFZM'; % Cat of Life
metaData.links.id_ITIS = '556369'; % ITIS
metaData.links.id_EoL = '490783'; % Ency of Life
metaData.links.id_Wiki = 'Sepioteuthis_australis'; % Wikipedia
metaData.links.id_ADW = 'Sepioteuthis_australis'; % ADW
metaData.links.id_Taxo = '157885'; % Taxonomicon
metaData.links.id_WoRMS = '342239'; % WoRMS
metaData.links.id_molluscabase = '342239'; % molluscabase


%% References
bibkey = 'Wiki'; type = 'Misc'; bib = ...
'howpublished = {\url{http://en.wikipedia.org/wiki/Sepioteuthis_australis}}';
metaData.biblist.(bibkey) = ['''@', type, '{', bibkey, ', ' bib, '}'';'];
%
bibkey = 'Kooy2010'; type = 'Book'; bib = [ ...  % used in setting of chemical parameters and pseudodata
'author = {Kooijman, S.A.L.M.}, ' ...
'year = {2010}, ' ...
'title  = {Dynamic Energy Budget theory for metabolic organisation}, ' ...
'publisher = {Cambridge Univ. Press, Cambridge}, ' ...
'pages = {Table 4.2 (page 150), 8.1 (page 300)}, ' ...
'howpublished = {\url{../../../bib/Kooy2010.html}}'];
metaData.biblist.(bibkey) = ['''@', type, '{', bibkey, ', ' bib, '}'';'];
%
bibkey = 'Peel2000'; type = 'phdthesis'; bib = [ ... 
'author = {Gretta Peel}, ' ... 
'year = {2000}, ' ...
'title = {Camparative life history of tropical and temperate \emph{Seriotheusis} squids in {A}ustralian waters}, ' ...
'school = {James Cook University}, ' ...
'howpublished = {\url{http://eprints.jcu.edu.au/24094}}'];
metaData.biblist.(bibkey) = ['''@', type, '{', bibkey, ', ' bib, '}'';'];
%
bibkey = 'sealifebase'; type = 'Misc'; bib = ...
'howpublished = {\url{https://www.sealifebase.ca/summary/Sepioteuthis-australis.html}}';
metaData.biblist.(bibkey) = ['''@', type, '{', bibkey, ', ' bib, '}'';'];

