Sharing Annotations Copyright Edward A. Clancy and Kevin C. McGill, 2007. Some rights reserved. Content in this presentation is licensed under a Creative.

Slides:



Advertisements
Similar presentations
DOCUMENT TYPES. Digital Documents Converting documents to an electronic format will preserve those documents, but how would such a process be organized?
Advertisements

The eXtensible Markup Language (XML) An Applied Tutorial Kevin Thomas.
XML e X tensible M arkup L anguage (XML) By: Albert Beng Kiat Tan Ayzer Mungan Edwin Hendriadi.
XML: Extensible Markup Language
WeB application development
SPECIAL TOPIC XML. Introducing XML XML (eXtensible Markup Language) ◦A language used to create structured documents XML vs HTML ◦XML is designed to transport.
C-CDA Constraints FACA - Strategy Discussion June 23, 2014 Mark Roche, MD.
Lecture 7 Debugging Code & Data Import/Export © 2007 Daniel Valentine. All rights reserved. Published by Elsevier.
ILDG File Format Chip Watson, for Middleware & MetaData Working Groups.
“Working Together” Copyright Edward A. Clancy and Kevin C. McGill, Some rights reserved. Content in this presentation is licensed under a Creative.
INF201 Fall2010 Intro. to Info. Technologies Department of Informatics University at Albany – SUNY Original Source: w3schools.com Prepared by Xiao Liang,
© Copyright 1992–2005 by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. Tutorial 14 – Student Grades Application: Introducing.
1 COS 425: Database and Information Management Systems XML and information exchange.
Tutorial 11: Connecting to External Data
Exploring Microsoft® Office Grauer and Barber 1 Committed to Shaping the Next Generation of IT Experts. Robert Grauer and Maryann Barber Using.
Manohar – Why XML is Required Problem: We want to save the data and retrieve it further or to transfer over the network. This.
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Slide
4/20/2017.
Chapter 12 Creating and Using XML Documents HTML5 AND CSS Seventh Edition.
WS2-1 ADM740, Workshop 2, June 2007 Copyright  2007 MSC.Software Corporation WORKSHOP 2 TEMPLATES VERSUS SUBSYSTEMS.
Chapter 4 MATLAB Programming Combining Loops and Logic Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Copyright © 2012 Accenture All Rights Reserved.Copyright © 2012 Accenture All Rights Reserved. Accenture, its logo, and High Performance Delivered are.
XML Overview. Chapter 8 © 2011 Pearson Education 2 Extensible Markup Language (XML) A text-based markup language (like HTML) A text-based markup language.
XML Extensible Markup Language. Markup Languages u What does this number (100) mean? –Actually, it’s just a string of characters! –A markup language can.
Introduction to XML. XML - Connectivity is Key Need for customized page layout – e.g. filter to display only recent data Downloadable product comparisons.
F-1 Management Information Systems for the Information Age Copyright 2004 The McGraw-Hill Companies, Inc. All rights reserved Extended Learning Module.
Client Scripting1 Internet Systems Design. Client Scripting2 n “A scripting language is a programming language that is used to manipulate, customize,
 XML is designed to describe data and to focus on what data is. HTML is designed to display data and to focus on how data looks.  XML is created to structure,
DLI Training April 2004 Kingston Ontario. DDI What, Why, How?
Session IV Chapter 9 – XML Schemas
Data Management David Nathan & Peter Austin & Robert Munro.
XML & Mediators Thitima Sirikangwalkul Wai Sum Mong April 10, 2003.
Flex Data Communications Nick Kwiatkowski, Michigan State University.
Openadaptor XML Support Using openadaptor for XML processing Oleg Dulin,
Basic File Input and Output Copyright © Software Carpentry 2011 This work is licensed under the Creative Commons Attribution License See
WEB BASED DATA TRANSFORMATION USING XML, JAVA Group members: Darius Balarashti & Matt Smith.
2005 Epocrates, Inc. All rights reserved. Integrating XML with legacy relational data for publishing on handheld devices David A. Lee Senior member of.
5.2 Scope: This standard defines common data interchange formats for event records for voting systems. Voting systems, including election administration.
Accessing Data Using XML CHAPTER NINE Matakuliah: T0063 – Pemrograman Visual Tahun: 2009.
Comparing Annotations Copyright Edward A. Clancy and Kevin C. McGill, Some rights reserved. Content in this presentation is licensed under a Creative.
© All rights reserved. U.S International Tech Support
The eXtensible Markup Language (XML). Presentation Outline Part 1: The basics of creating an XML document Part 2: Developing constraints for a well formed.
What it is and how it works
XML Introduction. Markup Language A markup language must specify What markup is allowed What markup is required How markup is to be distinguished from.
XML Basics A brief introduction to XML in general 1XML Basics.
ActionScript 3 Extensible Markup Language (XML) by Martin Stanhope The University of Bolton.
AL-MAAREFA COLLEGE FOR SCIENCE AND TECHNOLOGY INFO 232: DATABASE SYSTEMS CHAPTER 1 DATABASE SYSTEMS Instructor Ms. Arwa Binsaleh.
Internet & World Wide Web How to Program, 5/e. © by Pearson Education, Inc. All Rights Reserved.2.
1 Metadata Working G roup Report Members (fixed in mid-January) G.AndronicoINFN,Italy P.CoddingtonAdelaide,Australia R.EdwardsJlab,USA C.MaynardEdinburgh,UK.
Comparison of different output options from Stata
Module: Software Engineering of Web Applications Chapter 2: Technologies 1.
Chapter 11: Advanced Inheritance Concepts. Objectives Create and use abstract classes Use dynamic method binding Create arrays of subclass objects Use.
1 How to move test data from existing files into a satellite database Jacek Wojcieszuk Jacek Wojcieszuk Warsaw University of Technology.
Copyright © 2012 Certification Partners, LLC -- All Rights Reserved Lesson 5: HTML Tables.
CHAPTER NINE Accessing Data Using XML. McGraw Hill/Irwin ©2002 by The McGraw-Hill Companies, Inc. All rights reserved Introduction The eXtensible.
Connecting to External Data. Financial data can be obtained from a number of different data sources.
XML Databases Presented By: Pardeep MT15042 Anurag Goel MT15006.
1 XML and XML in DLESE Katy Ginger November 2003.
Extensible Markup Language (XML) Pat Morin COMP 2405.
Product Training Program
XML: Extensible Markup Language
WaveForm DataBase (WFDB) Format
Introduction to XHTML.
Databases.
Extensible Markup Language
eXtensible Markup Language (XML)
XML.
Lesson 5: HTML Tables.
14 XML.
Web Programming and Design
Presentation transcript:

Sharing Annotations Copyright Edward A. Clancy and Kevin C. McGill, Some rights reserved. Content in this presentation is licensed under a Creative Commons Attribution-Noncommercial- Share Alike 3.0 License. This license is more fully described at: EAC07–080 Symposium on EMG Decomposition May 2007 – 2 June 2007 Worcester Polytechnic Institute, Worcester, MA, U.S.A

Annotations: Introduction Annotations = spike firing times, classification results, etc. –A.k.a.: spike files, detection/classification results Recommend distinct file from data –Data are fixed, unchanging –Annotations can evolve, change –Can have multiple annotation files per data file, e.g.: Automated Manually corrected Annotate all spikes or dominant spikes Regular spikes or clinical abnormalities Spike times or other information (e.g., artifact, experimental intervention) EAC07–081

Surveyed ( ): –Englehart (University of New Brunswick) –Erim (Rehab Institute of Chicago) –Farina (SMI, Aalborg University) –Kamen (UMass-Amherst) –McGill (Palo Alto VA / Stanford University) Common elements: 1) Firing time 2) Spike ID Additional elements: Too many to list!! File: annot_crossref_table.docannot_crossref_table.doc Existing Annotation Formats EAC07–082 Click Here

Many existing formats Varying information preserved –Each format stores spike times, identities Existing formats conflicting Existing Annotation Formats: Summary EAC07–083 No existing format could be used to satisfy every user

Usable in MATLAB, but NOT proprietary Preserves legacy information firing timespike IDRequires firing time and spike ID Permits many other parameters Extendable (new users, future uses) Facilitates standardized performance comparison, post-processing Flexible format required Annotation Format: What do we need? EAC07–084

Binary Format vs. ASCII Usually: “ASCII is for amateurs!” –E.g.: Never store ADC data in ASCII But: –Annotation info much smaller size than data –ASCII very flexible, extensible, not machine- specific, variable length lines –Existing information standards, e.g. XML EAC07–085

Pros/Cons of Annotation Standards Cons –Inefficient if only 1–2 users your –Satisfy all your needs ??????? –Software organization/style concerns Pros –Very efficient if exchange with many researchers (2N instead of N 2 ) –Facilitates sharing !!! –Accompanying documentation –Supportive of databases EAC07–086

Annotation Format: Overall Solution EAC07–087 MATLAB Environment Share With Others Standardized MATLAB Structure Variable XML-Based “Annotation File” EMGLAB Software Use directly or convert to user format Save/load as.mat file: MATLAB save(), load() or

Structure EMGLAB Annotation Structure MATLAB-based Three information categories –General info: General to entire decomp –Spike events: One “row” of info per spike –Other: E.g., MU templates, spike epochs Three required fields –Version number –Spike time, ID (per event) EAC07–088 Click Here

File EMGLAB Annotation File XML (eXtensible Markup Language) Eight sections 1.XML declaration statement 2.Root element 3.Version tag 4.Optional general information 5.Spike header tags 6.Spike events 7.Optional additional structure fields 8.Optional freeform variables EAC07–089 } One-to-one correspondence with EMGLAB annotation structure

EAF: Simple Example EAC07–090 1) Declaration statement 3) Version tag 2) R o t E l e m e n t } 5) Spike header: Indicates each spike specifies time, spike ID 6) Spike events: one time, spike ID per row.

EAF: Complete Example Example includes all optional sections –All required, optional structure fields –Freeform variables Includes structures, cell arrays, strings EAC07–091 Click Here