Davide,
You only need to open the bart.pbl script in any text editor, such as
notepad++--devcpp won't really help you.
Around line 68, there is the following lines:
##Define the balloon types:
btypes <- [1,2,3]
lifes <- [8,16,128]
cols <-
[MakeColor("darkorange"),Makecolor("gold"),MakeColor("darkslateblue")]
This sets the colors and median lifespans of the balloons, and their
labels (1,2,3). I wouldn't change any of this, but if you want to use a
different color you could change from 'darkstraleblue' to something else.
Following that is the set of statements that create the different blocks
of trial mixes:
set1 <-
Transpose([SampleBreakPointSet(8,10),Repeat(First(cols),10),Repeat(1,10)])
set2 <-
Transpose([SampleBreakPointSet(16,10),Repeat(Second(cols),10),Repeat(2,10)])
set3 <-
Transpose([SampleBreakPointSet(128,10),Repeat(Third(cols),10),Repeat(3,10)])
set4 <-
Transpose([SampleBreakPointSet(8,10),Repeat(First(cols),10),Repeat(1,10)])
set5 <-
Transpose([SampleBreakPointSet(8,10),Repeat(First(cols),10),Repeat(1,10)])
set6 <-
Transpose([SampleBreakPointSet(16,10),Repeat(Second(cols),10),Repeat(2,10)])
set7 <-
Transpose([SampleBreakPointSet(16,10),Repeat(Second(cols),10),Repeat(2,10)])
set8 <-
Transpose([SampleBreakPointSet(128,10),Repeat(Third(cols),10),Repeat(3,10)])
set9 <-
Transpose([SampleBreakPointSet(128,10),Repeat(Third(cols),10),Repeat(3,10)])
group1 <- Shuffle(FlattenN([set1,set2,set3],1))
group2 <- Merge(set4,set5)
group3 <- Merge(set6,set7)
group4 <- Merge(set8,set9)
trials <- FlattenN([group1,group2,group3,group4],1)
You could probably replace this all with something like:
numtrials <- 30
trials <- Transpose([SampleBreakPointSet(128,numtrials),
Repeat(Third(cols),numtrials),
Repeat(3,numtrials)])
I haven't tested it, but it should be pretty close to working.
> Hi,
> I am interested in using the BURT for my experiment, but I would like to
> use only one balloon color (blue, which has a longer life) and to reduce
> the trialfrom100 to30. I downloaded the Dev-C++ and I looked into the
> script but I wasn't able to make it work.
> Any help would be very appreciated.
> Thank you very much in advance
> Kind regards
> Davide Ponzi
> Institute for Mind and Biology
> University of Chicago
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Windows:
>
> Build for Windows Store.
>
> http://p.sf.net/sfu/windows-dev2dev_______________________________________________
> Pebl-list mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/pebl-list
>
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Pebl-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pebl-list