= The Chicago Electrical Neuroimaging Analytics (CENA): = = Microsegmentation Suite Tutorial = ''Author: Stephanie Cacioppo, Ph.D.'' <> == Introduction == The [[https://hpenlaboratory.uchicago.edu/page/cena|Chicago Electrical Neuroimaging Analytics (CENA]]) is a suite of tools for adavanced dynamic spatiotemporal brain analyses that allows you to automatically detect event-related changes in the global pattern and global field power of your event-related potentials (ERPs). == CENA functions : == Cena functions include: * Difference wave function; * High-performance microsegmentation suite (HPMS) which consists of three specific analytic tools: * a root mean square error (RMSE) metric for identifying stable states and transition states across discrete event-related brain micro states; * a similarity metric based on cosine distance in n dimensional sensor space to determine whether template maps for successive brain microstates differ in configuration of brain activity; * a global field power (GFP) metrics for identifying changes in the overall level of activation of the brain. * Bootstrapping function for assessing the extent to which the solutions identified in the HPMS are robust. == Description of the toolbox functions == {{{ 1. Difference wave function }}} The CENA function constructs a “difference waveform” that putatively represents physiological processes that are different between two conditions. The CENA difference wave function offers users the possibility to create a difference waveform configuration between two n-dimensional ERPs by subtracting the ERP waveform elicited by one condition (e.g., ERP_A) from the ERP waveform elicited by another condition (ERP_B). The output of this difference waveform function is computed as ERP_A – ERP_B, which results in a T x n matrix with T as the number of timeframes and n as the number of electrodes. When processing two ERPs via the Brainstorm routine window at the bottom of the Brainstorm interface, ERP_A will be the ERP at the top of the list and ERP_B will be the ERP second in the list. == Download and installation == == Import ERP Sample == The current version of CENA is for advanced processing. CENA , thus, requires you to upload preprocessed, cleaned, and averaged event-related potentials (ERPS). For more details about pre-processing steps, epoching, and averaging your raw EEG files, please see [[http://neuroimage.usc.edu/brainstorm/Tutorials|Brainstorm Tutorial (steps 8-23)]]. == Presentation of the experiment == The ERP data sample we are making available to you were obtained from healthy subjects, who performed a reversal checkerboard task. Procedure: In this reversal checkerboard task, checkerboards had a spatial frequency of 1 cycle/deg, covered 5.4 × 5.57◦of visual angle and were reversed every 500 ms (duration confirmed by photocell measurements; E-prime PsychologySoftware Tools Inc., Pittsburgh, USA). A red cross of 1◦ of visual angle was placed in the top center of the monitor and the participants were instructed to fixate this cross throughout visual stimulation. Stimuli were displayed in black and white on a monitor screen, with refresh rate of 60 Hz. Visual stimuli were presented on a PC computer using EGI-E-prime Psychology Software Tools Inc., Pittsburgh, USA under Windows XP, which provides control of display durations and accurate recordings of reaction times. Participants were comfortably seated 100 cm away from a PC computer screenin which stimuli were presented centrally. The task consisted of 250 checkerboard reversals. == References == Cacioppo, S., & Cacioppo, J. T. (2015). Dynamic spatiotemporal brain analyses using high-performance electrical neuroimaging, Part II: A step-by-step tutorial. ''Journal of Neuroscience Methods, ''256, ''184-197. ''doi: 10.1016/j.jneumeth.2015.09.004. Cacioppo, S., Weiss, R. M. Runesha, H. B., & Cacioppo, J. T. (2014). Dynamic Spatiotemporal Brain Analyses using High-Performance Electrical NeuroImaging: Theoretical Framework and Validation. ''Journal of Neuroscience Methods, 238, ''11-34. doi: 10.1016/j.jneumeth.2014.09.009 == License == By downloading/using the CENA plugin (the PROGRAM) you agree to the following terms of use. For all inquiries regarding commercial use, please contact: [[mailto:info-uchicagotech@uchicago.edu|info-uchicagotech@uchicago.edu.]] '''THE UNIVERSITY OF CHICAGO - SOFTWARE LICENSE AGREEMENT - FOR ACADEMIC NON-COMMERCIAL RESEARCH PURPOSES ONLY''' This Agreement is made between the University of Chicago with a principal address at 5801 South Ellis Ave, Chicago, IL 60637 (UCHICAGO) and the LICENSEE and is effective at the date the downloading is completed (EFFECTIVE DATE). WHEREAS, LICENSEE desires to license the PROGRAM, as defined hereinafter, and UCHICAGO wishes to have this PROGRAM utilized in the public interest, subject only to the royalty-free, nonexclusive, nontransferable license rights of the United States Government pursuant to 48 CFR 52.227-14; and WHEREAS, LICENSEE desires to license the PROGRAM and UCHICAGO desires to grant a license on the following terms and conditions. NOW, THEREFORE, in consideration of the promises and covenants made herein, the parties hereto agree as follows: '''1. DEFINITIONS''' 1.1 Chicago Patent means the patents and patent applications related to PROGRAM including all divisionals, continuations, foreign counterparts, continuations-in-part and its foreign counterparts, and any valid patents which may issue from such patent applications and any reissues, substitutions, or extensions of or to any such patents or patent applications. 1.2. PROGRAM shall mean copyright (whether registered or unregistered) in the object code and source code known as CENA and related documentation, including but not limited to manuals, explanatory materials, or other documentation, as they exist on the EFFECTIVE DATE and can be downloaded from [[https://hpenlaboratory.uchicago.edu/page/chicago-electrical-neuroimaging-analytics-cena|https://hpenlaboratory.uchicago.edu/page/cena]]on the EFFECTIVE DATE. '''2. LICENSE''' 2.1 Grant. Subject to the terms of this Agreement, UCHICAGO hereby grants to LICENSEE, solely for academic non-commercial research purposes: 2.1.1 a non-exclusive, non-transferable license to download, execute and display the PROGRAM; and 2.1.2 a non-exclusive, royalty-free license to practice Chicago Patents solely for internal research use only. The LICENSEE may apply the PROGRAM in a pipeline to data owned by users other than the LICENSEE and provide these users the results of the PROGRAM provided LICENSEE does so for academic non- commercial purposes only. For clarification purposes, academic sponsored research is not a commercial use under the terms of this Agreement. These grants permit LICENSEE to use a one (1) copy of the Program FOR INTERNAL RESEARCH USE ONLY on a single computer. 2.2 No Sublicensing or Additional Rights. LICENSEE shall not sublicense or distribute the PROGRAM, in whole or in part, without prior written permission from UCHICAGO. LICENSEE shall ensure that all of its users agree to the terms of this Agreement. LICENSEE further agrees that it shall not put the PROGRAM on a network, server, or other similar technology that may be accessed by anyone other than the LICENSEE and its employees and users who have agreed to the terms of this agreement. No rights in and to the PROGRAM or CHICAGO PATENTS other than those provided in this Section 2, expressed or implied, are conveyed by UCHICAGO. 2.3 License Limitations. Nothing in this Agreement shall be construed to confer any rights upon LICENSEE by implication, estoppel, or otherwise to any computer software, trademark, intellectual property, or patent rights of UCHICAGO, or of any other entity, except as expressly granted herein. LICENSEE agrees that the PROGRAM, in whole or part, shall not be used for any commercial purpose, including without limitation, as the basis of a commercial software or hardware product or to provide services. LICENSEE further agrees that the PROGRAM shall not be copied or otherwise adapted in order to circumvent the need for obtaining a license for use of the PROGRAM. Unless described herein, this Agreement does not include the ability to perform the following functions: copy, modify, rent, disassemble, reverse engineer, create derivative works, or transfer the PROGRAM, or any copy, modification, or merged portion, in whole or part, except as expressly provided for in this Agreement. If LICENSEE transfers possession of any copy of the Program to any other party, this license is automatically terminated. 2.4 Under no circumstances may LICENSEE use the PROGRAM as a decision-making tool regarding diagnosis or treatment decisions for patients. 2.5 UCHICAGO reserves the worldwide right to practice inventions claimed in the PROGRAM and CHICAGO PATENTS for all educational and research purposes it may choose at its own discretion and without any payment thereafter. UCHICAGO shall have the right to grant further licenses to third parties to practice the inventions claimed in the PROGRAM and/or CHICAGO PATENTS. '''3. OWNERSHIP OF INTELLECTUAL PROPERTY''' 3.1 LICENSEE acknowledges that title and ownership rights to the PROGRAM and CHICAGO PATENTS shall remain with UCHICAGO. LICENSEE will not contest, nor assist any other party in contesting, UCHICAGO’s ownership of the PROGRAM or CHICAGO PATENTS, and will not contest to the validity thereof. 3.2 The PROGRAM (including any images, photographs, animations, video, audio, music, and text incorporated into the PROGRAM) is owned by UCHICAGO and is protected by United States copyright laws and international treaty provisions. The PROGRAM is marked with the following UCHICAGO copyright notice. LICENSEE shall retain such notice on all copies. Copyright 2014-2015 University of Chicago. 3.3 LICENSEE shall not use any trademark or trade name of UCHICAGO, or any variation, adaptation, or abbreviation, of such marks or trade names, or any names of officers, faculty, students, employees, or agents of UCHICAGO except as states above for attribution purposes. '''4. INDEMNIFICATION''' LICENSEE shall indemnify, defend, and hold harmless UCHICAGO, and its respective affiliates, trustees, directors, officers, faculty, students, employees, fellows, agents, associated investigators and agents, and their respective successors, heirs and assigns, (Indemnitees), against any liability, damage, loss, or expense (including reasonable attorney’s fees and expenses) incurred by or imposed upon any of the Indemnitees in connection with any claims, suits, actions, demands or judgments arising out of any theory of liability (including, without limitation, actions in the form of tort, warranty, or strict liability and regardless of whether such action has any factual basis) pursuant to any right or license granted under this Agreement. '''5. NO REPRESENTATIONS OR WARRANTIES''' 5.1 THE PROGRAM IS DELIVERED AS IS. UCHICAGO MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND CONCERNING THE PROGRAM OR THE COPYRIGHT, EXPRESS OR IMPLIED, INCLUDING, WITHOUT LIMITATION, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF LATENT OR OTHER DEFECTS, WHETHER OR NOT DISCOVERABLE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH THE LICENSEE. SHOULD THE PROGRAM PROVE DEFECTIVE, LICENSEE ASSUMES THE RISK AND LIABILITY FOR THE ENTIRE COST OF ALL NECESSARY REPAIR, SERVICE, OR CORRECTION. UCHICAGO DISCLAIMS ANY WARRANTY WITH RESPECT TO THE INVENTION(S) CLAIMED IN THE CHICAGO PATENTS OR WITH RESPECT TO THE CHICAGO PATENTS THEMSELVES OR AS TO PROGRAM CONFORMITY WITH WHATEVER USER MANUALS OR OTHER LITERATURE MAY BE ISSUED FROM TIME TO TIME, INCLUDING BUT NOT LIMITED TO, ANY REPRESENTATIONS OR WARRANTIES ABOUT (I) THE VALIDITY, SCOPE OR ENFORCEABILITY OF ANY OF THE LICENSED PATENTS; (II) THE ACCURACY, SAFETY OR USEFULNESS FOR ANY PURPOSE OF ANY INFORMATION PROVIDED BY UCHICAGO TO LICENSEE, WITH RESPECT TO THE INVENTION(S) CLAIMED IN THE CHICAGO PATENTS OR WITH RESPECT TO THE CHICAGO PATENTS THEMSELVES AND ANY PRODUCTS DEVELOPED FROM OR COVERED BY THEM AS TO PROGRAM CONFORMITY WITH WHATEVER USER MANUALS OR OTHER LITERATURE MAY BE ISSUED FROM TIME TO TIME; (III) WHETHER THE PRACTICE OF ANY CLAIM CONTAINED IN ANY OF THE LICENSED PATENTS WILL OR MIGHT INFRINGE A PATENT OR OTHER INTELLECTUAL PROPERTY RIGHT OWNED OR LICENSED BY A THIRD PARTY; (IV) THE PATENTABILITY OF ANY INVENTION CLAIMED IN THE CHICAGO PATENTS; OR (V) THE ACCURACY, SAFETY, OR USEFULNESS FOR ANY PURPOSE OF ANY PRODUCT OR PROCESS MADE OR CARRIED OUT IN ACCORDANCE WITH OR THROUGH THE USE OF THE CHICAGO PATENTS. UCHICAGO EXTENDS NO WARRANTIES OF ANY KIND AS TO PROGRAM CONFORMITY WITH WHATEVER USER MANUALS OR OTHER LITERATURE MAY BE ISSUED FROM TIME TO TIME. 5.2 Liability. IN NO EVENT SHALL UCHICAGO OR ITS RESPECTIVE DIRECTORS, OFFICERS, EMPLOYEES, AFFILIATED INVESTIGATORS, AFFILIATES, TRUSTEES, FELLOWS, AND AGENTS BE LIABLE FOR INCIDENTAL OR CONSEQUENTIAL DAMAGES OF ANY KIND, INCLUDING, WITHOUT LIMITATION, ECONOMIC DAMAGES OR INJURY TO PROPERTY AND LOST PROFITS, REGARDLESS OF WHETHER UCHICAGO SHALL BE ADVISED, SHALL HAVE OTHER REASON TO KNOW, OR IN FACT SHALL KNOW OF THE POSSIBILITY OF THE FOREGOING. 5.3 Assumption of Risk. Except as expressly provided herein, the risk as to the performance, safety, and efficacy of PROGRAM is assumed by LICENSEE, provided that such assumption of the risk shall not apply to the intentional misconduct or gross negligence by UCHICAGO. LICENSEE shall not, make any agreements, statements, representations or warranties or accept any liabilities or responsibilities whatsoever with regard to any person or entity which are inconsistent with this Section 5.3. '''6. ASSIGNMENT''' This Agreement is personal to LICENSEE and any rights or obligations assigned by LICENSEE without the prior written consent of UCHICAGO shall be null and void. '''7. MISCELLANEOUS''' 7.1 Export Control. LICENSEE gives assurance that it will comply with all United States export control laws and regulations controlling the export of the PROGRAM, including, without limitation, all Export Administration Regulations of the United States Department of Commerce. Among other things, these laws and regulations prohibit, or require a license for, the export of certain types of software to specified countries. 7.2 Termination. LICENSEE shall have the right to terminate this Agreement for any reason upon prior written notice to UCHICAGO. If LICENSEE breaches any provision hereunder, and fails to cure such breach within thirty (30) days, UCHICAGO may terminate this Agreement immediately. Upon termination, LICENSEE shall provide UCHICAGO with written assurance that the original and all copies of the PROGRAM have been destroyed, except that, upon prior written authorization from UCHICAGO, LICENSEE may retain a copy for archive purposes. 7.3 Survival. The following provisions shall survive the expiration or termination of this Agreement: Articles 1, 3, 4, 5 and Sections 2.2, 2.3, 7.3, and 7.4. 7.4 Notice. Any notices under this Agreement shall be in writing, shall specifically refer to this Agreement, and shall be sent by hand, recognized national overnight courier, confirmed facsimile transmission, confirmed electronic mail, or registered or certified mail, postage prepaid, return receipt requested. All notices under this Agreement shall be deemed effective upon receipt. 7.5 Amendment and Waiver; Entire Agreement. This Agreement may be amended, supplemented, or otherwise modified only by means of a written instrument signed by all parties. Any waiver of any rights or failure to act in a specific instance shall relate only to such instance and shall not be construed as an agreement to waive any rights or fail to act in any other instance, whether or not similar. This Agreement constitutes the entire agreement among the parties with respect to its subject matter and supersedes prior agreements or understandings between the parties relating to its subject matter. 7.6 Binding Effect; Headings. This Agreement shall be binding upon and inure to the benefit of the parties and their respective permitted successors and assigns. All headings are for convenience only and shall not affect the meaning of any provision of this Agreement. 7.7 Governing Law. This Agreement shall be construed, governed, interpreted and applied in accordance with the internal laws of the State of Illinois, without regard to conflict of laws principles. 7.8 Severability. If any provision of this Agreement shall be held illegal, unenforceable, or in conflict with any laws of any federal, provincial, state or local government that may exercise jurisdiction over this Agreement, the validity of the remaining portions or provisions shall not be affected hereby.