13.11.2014 Views

CinePlex v3 Manual - Plexon Inc

CinePlex v3 Manual - Plexon Inc

CinePlex v3 Manual - Plexon Inc

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

4<br />

or clear the Write? checkboxes for any markers that should be exported or<br />

not exported into the new PLX file. Click Export! to write the file.<br />

4.6.4 Freeze Detection<br />

<strong>CinePlex</strong> Studio can detect freeze behavior using recorded data with the Motion<br />

Measure option. The user may define a new interval that occurs whenever a rat<br />

freezes. The user may set a threshold level for the motion measure and define a<br />

freeze to be whenever the motion measure falls below that level. The user may<br />

then export the freezing episodes to a text file.<br />

The procedural approach here is to use the Levels Editor to define the freezing<br />

threshold and apply it to the Motion Measure data generated by <strong>CinePlex</strong> Studio,<br />

and then import it into <strong>CinePlex</strong> Editor as the “Centroid Motion” Scalar marker.<br />

This generates occurrences of a newly labelled “Rat Froze” marker. The user may<br />

then export this marker to a text file.<br />

Detecting freezing behavior<br />

1 Define a new Interval marker (see “Defining a New Marker” on<br />

page 169). Label it “Rat Froze”. From the Define New Marker dialog box,<br />

click Generate Occurrences. This opens the Levels Editor dialog box,<br />

which is described in detail in “Using the Levels Editor” on page 185.<br />

2 In the Levels Editor dialog box, make sure to select the “Centroid Motion”<br />

variable in the Scalar Marker To Use list. The display window opens showing<br />

the Centroid Motion values over the duration of the file.<br />

3 Click Center Lev 1 to get the line to the middle of the display window. Adjust it<br />

to a reasonable freeze threshold.<br />

4 Since we want to generate intervals when the “Centroid Motion” value falls<br />

below the threshold, click Below from the list in the first Abv/Blw column for<br />

the “Rat Froze” line in the grid.<br />

5 Click Generated Selected because we only have one Level Interval marker<br />

and it is selected. Click Done.<br />

The Marker Occurrences window and the Activity window now show the<br />

new “Rat Froze” intervals.<br />

6 To write the intervals to a text file, from the File menu, select Export Markers.<br />

In the Export Marker Data dialog box, accept the default settings, which<br />

produce a reasonable output file. The user may change the Delimiter to use<br />

between values, select Export a Row of Column Headers, and clear some<br />

of the checkboxes under What to Export for Each Marker Occurrences.<br />

For a more information, see “Export Markers” on page 239. Type a file<br />

204 <strong>CinePlex</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!