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.

5.5 How <strong>CinePlex</strong> Editor Creates Initial Project Files<br />

When a new <strong>CinePlex</strong> project is created, <strong>CinePlex</strong> Editor reads both the neural<br />

data file and the video data file, and it generates markers and marker occurrences<br />

based on the contents of the files. After the initial file reading, <strong>CinePlex</strong> Editor<br />

stores the generated markers and marker occurrences in the project (CPJ) file.<br />

When the project file is re-opened, <strong>CinePlex</strong> Editor reads the markers and marker<br />

occurrences from the project file, not from the original neural data or video files.<br />

In this way, one may add, edit, shift, or delete markers without regard for what is<br />

actually in the original neural or video data files. However, when an existing<br />

project file is re-opened, <strong>CinePlex</strong> Editor still reads the neural data file in order to<br />

obtain the spike timestamps and continuous data, and it still reads the video file to<br />

obtain video frame images.<br />

5.5.1 Reading Video (AVI) Files<br />

When <strong>CinePlex</strong> Editor reads the video (AVI) file, it looks for timestamps embedded<br />

in the data stored with each frame. <strong>CinePlex</strong> Studio imbeds these timestamps.<br />

If the embedded timestamps are present, <strong>CinePlex</strong> Editor creates a special Frame<br />

marker, and it generates a marker occurrence for each video frame. See “Non-<br />

Typical Initial File Creation” on page 276 if there are no embedded timestamps.<br />

CAUTION<br />

Upgrade Notice<br />

If the system has been upgraded to <strong>CinePlex</strong> Studio 2.0, <strong>CinePlex</strong><br />

Editor should also be update. The upgraded <strong>CinePlex</strong> Editor will<br />

read AVI files created by <strong>CinePlex</strong> Studio 1.0, 1.1, 1.2, and 1.4.<br />

However, earlier versions will not be able to read AVI files produced<br />

in version 2.0<br />

5.5.2 Reading <strong>Plexon</strong> (PLX) Files<br />

When <strong>CinePlex</strong> Editor reads a <strong>Plexon</strong> (PLX) file during the initial project creation,<br />

depending on the contents of the PLX file, it can create and populate a<br />

number of different markers as follows:<br />

• Non-strobed external events (type 4 data blocks) become Time-Only markers<br />

• Strobed events become a single Scalar marker, with the scalar values set to<br />

the strobe values<br />

• If strobed events are present, and <strong>CinePlex</strong> Editor identifies them to be in<br />

conformance with the <strong>Plexon</strong> VideoTracker protocol, then <strong>CinePlex</strong> Editor<br />

generates additional markers by interpreting the strobe codes as data produced<br />

by <strong>Plexon</strong> VideoTracker. Depending on the VideoTracker mode<br />

detected, <strong>CinePlex</strong> Editor creates the following markers:<br />

— One, two, or three Coordinates markers with names like Position n to<br />

denote the tracker positions, when VideoTracker is in LED or Reflective<br />

Color tracking modes.<br />

Version 3.0 275

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

Saved successfully!

Ooh no, something went wrong!