Changeset 3e7998e in tol for tol_tests/tol


Ignore:
Timestamp:
Jun 2, 2011, 8:36:40 AM (15 years ago)
Author:
Víctor de Buen <vdebuen@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
347f3b6
Parents:
06104b2
Message:

Refs #1230

git-svn-id: ​https://www.tol-project.org/svn/tolp/trunk@3614 be4846ae-f051-483a-831f-b64e7d08527f

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tol_tests/tol/Bugzilla/bug_001230/check.tol

    r06104b2 r3e7998e  
    11
    2 Set example = { Include("ErrorEnAIA.oza") };
     2Set example = { Include("ErrorEnAIA2.oza") };
    33
    4 Set aia = AIA(example::residuals,example::piw,example::outliers, 2);
     4//Set outliers = [[ PulseOut, StepOut, TrendOut ]];
     5Set outliers = [[ PulseOut ]];
     6Set ShowAia(Set aia)
     7{
     8  WriteLn("\n"+Name(aia)+" has "<<Card(aia)+" outliers : ");
     9  Set View(aia,"Std");
     10  WriteLn("");
     11  aia
     12};
     13
     14Set aia.1 = ShowAia(AIA(example::serie,example::piw,outliers, 2));
     15Set aia.2 = ShowAia(AIA(example::serie,example::piw,outliers, 3, 100));
     16Set aia.3 = ShowAia(AIA(example::serie,example::piw,outliers, 1));
     17Set aia.4 = ShowAia(AIA(example::serie,example::piw,outliers, 5, 100, 0.99));
    518
    619//Reconstruyo la serie original para echarle un vistazo
    720Ratio psiw = (1/1) : example::piw;
    8 Serie original = DifEq(psiw, example::residuals);
     21Serie original = DifEq(psiw, example::serie);
    922
     23Serie SumEffect(Set aia)
     24{
     25  SetSum(EvalSet(aia, Serie(InputDef inp)
     26  {
     27    inp->Omega : inp->X
     28  }))
     29};
     30Serie filter.1 = SumEffect(aia.1);
     31Serie filter.2 = SumEffect(aia.2);
     32Serie filter.3 = SumEffect(aia.3);
     33Serie filter.4 = SumEffect(aia.4);
     34
     35
     36/* */
Note: See TracChangeset for help on using the changeset viewer.