<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Bonjour <br>
<br>
je souhaite faire une calibration sur plusieurs annees. Je voudrais
etre sure que j'utilise correctement sum.OverDim().<br>
Est-ce que L = L.sumOverDim(0,12) permet d'avoir un cumul de L sur
la dimension 0 de 0 à 11 puis de 12 à 23, ect...<br>
<br>
je mets le script ci-dessous issu de Calibration.java écrit par
Sigrid (je crois?).<br>
<br>
merci<br>
STeph<br>
<br>
MatrixND L2 = result.getMatrix(param_Population,
ResultName.MATRIX_CATCH_WEIGHT_PER_STRATEGY_MET_PER_ZONE_POP);
<br>
<small>/////*** If some strategies, metiers or areas must not be
included in the cumulated catches see below else put "//" at the
beginning of line 297 and replace "L2" by "L" at line 289<br>
/////*** the strategies or so to exclude must be at the begining
or end of the list you enter in the parameters interface<br>
/////*** fill the line MatrixND L =
L2.getSubMatrix(a,b,c).copy(); as follow : <br>
/////*** a = 1 if you want to exclude strategies, 2 if metiers and
4 if areas<br>
/////*** b = indice of the first object considered <br>
/////*** c = number of object to keep after b, b included </small><big>
</big><br>
MatrixND L = L2.getSubMatrix(1,2,4).copy(); <small>// for instance
: keep strategies 2,3,4,5</small><br>
<small> // si tu veux toutes les strategies:<br>
// MatrixND L = L2;</small><br>
<small>///*** if observations are cumulated over quarter a = 3, over
year a = 12, else put "//" at the beginning of the following line<br>
// L = L.sumOverDim(0,a); </small><br>
L = L.sumOverDim(0,12);//sum over dates<br>
L = L.sumOverDim(1);// sum over strategies<br>
L = L.sumOverDim(2);// sum over metiers<br>
L = L.sumOverDim(4);// sum over zones<br>
L = L.reduce(); <br>
<pre class="moz-signature" cols="72">--
......................................................................
Stephanie MAHEVAS (<a class="moz-txt-link-abbreviated" href="mailto:Stephanie.Mahevas@ifremer.fr">Stephanie.Mahevas@ifremer.fr</a>)
IFREMER/EMH (Ecologie et Modèles pour l'Halieutique)
Tel: (33) 2 40 37 41 81 Fax: (33) 2 40 37 40 75
o \ o / _ o __| \ / |__ o _ \ o / o
/|\ | /\ ___\o \o | o/ o/__ /\ | /|\
/ \ / \ | \ /) | ( \ /o\ / ) | (\ / | / \ / \
......................................................................
</pre>
</body>
</html>