Advanced Visualization for Chemistry



Similar documents
Visualizing molecular simulations

Data Visualization for Atomistic/Molecular Simulations. Douglas E. Spearot University of Arkansas

Structure Tools and Visualization

Why are we teaching you VisIt?

Structure Check. Authors: Eduard Schreiner Leonardo G. Trabuco. February 7, 2012

Molecular Visualization. Introduction

Pro/ENGINEER Wildfire 4.0 Basic Design

3D structure visualization and high quality imaging. Chimera

Plotting: Customizing the Graph

14.1. bs^ir^qfkd=obcib`qflk= Ñçê=emI=rkfuI=~åÇ=léÉåsjp=eçëíë

Inventory Tracking Software Operations Manual

VisIt Visualization Tool

VMD - High Resolution Graphics

ChemPad3. a tutorial. Ben Shine and Dana Tenneson. May 21, 2008

mouse (or the option key on Macintosh) and move the mouse. You should see that you are able to zoom into and out of the scene.

Visualization Plugin for ParaView

Use of Tcl/Tk in Railway signalling simulation and maintenance software

4D Interactive Model Animations

PyRy3D: a software tool for modeling of large macromolecular complexes MODELING OF STRUCTURES FOR LARGE MACROMOLECULAR COMPLEXES

Blender Notes. Introduction to Digital Modelling and Animation in Design Blender Tutorial - week 9 The Game Engine

A Hybrid Visualization System for Molecular Models

Summary. Load and Open GaussView to start example

PYTHON: A PROGRAMMING LANGUAGE FOR SOFTWARE INTEGRATION AND DEVELOPMENT

A-PDF AutoCAD to PDF utility. User Documentation

PyMOL: An Open-Source Molecular Graphics Tool

Jump-Start Tutorial For ProcessModel

Lab 3. GIS Data Entry and Editing.

2013 Getting Started Guide

DataPA OpenAnalytics End User Training

KaleidaGraph Quick Start Guide

Practical Work DELMIA V5 R20 Lecture 1. D. Chablat / S. Caro Damien.Chablat@irccyn.ec-nantes.fr Stephane.Caro@irccyn.ec-nantes.fr

Atomic Force Microscope and Magnetic Force Microscope Background Information

Cork Education and Training Board. Programme Module for. 3 Dimensional Computer Graphics. Leading to. Level 5 FETAC

Microsoft Access 2010 handout

Files Used in this Tutorial

Adding Animation With Cinema 4D XL

Parallel Visualization of Petascale Simulation Results from GROMACS, NAMD and CP2K on IBM Blue Gene/P using VisIt Visualization Toolkit

Dell SonicWALL SRA 7.5 Secure Virtual Meeting and Secure Virtual Assist

Rapid Software Development with OpenAccess. Dean Marvin Exec Director, Product Development

Autodesk Fusion 360 Badge Guide: Design an F1 in Schools Trophy

XBMC Architecture Overview

Last lecture... Computer Graphics:

How to make a line graph using Excel 2007

BIOC351: Proteins. PyMOL Laboratory #1. Installing and Using

1. INTERFACE ENHANCEMENTS 2. REPORTING ENHANCEMENTS

Module One: Getting Started Opening Outlook Setting Up Outlook for the First Time Understanding the Interface...

Maestro 8.0. User Manual. Schrödinger Press

Hypercosm. Studio.

Visualization of 2D Domains

Microsoft Access 2010 Overview of Basics

Omnitapps Cloud Request Version 1.0 Manual

Introduction to Computer Graphics

Intellect Platform - The Workflow Engine Basic HelpDesk Troubleticket System - A102

Lab 0: Preparing your laptop for the course OS X

TestManager Administration Guide

Writer Guide. Chapter 15 Using Forms in Writer

ME Week 11 Introduction to Dynamic Simulation

Performance Analysis and Visualization of SystemC Models. Adam Donlin and Thomas Lenart Xilinx Research

Steady Flow: Laminar and Turbulent in an S-Bend

Institute of Natural Resources Departament of General Geology and Land use planning Work with a MAPS

STATGRAPHICS Online. Statistical Analysis and Data Visualization System. Revised 6/21/2012. Copyright 2012 by StatPoint Technologies, Inc.

Notepad++ The COMPSCI 101 Text Editor for Windows. What is a text editor? Install Python 3

Gephi Tutorial Visualization

CATIA V5 Tutorials. Mechanism Design & Animation. Release 18. Nader G. Zamani. University of Windsor. Jonathan M. Weaver. University of Detroit Mercy

SharePoint 2010 Web Publishing Manual

1 of 31. SharePoint 2010 Web Publishing Manual. 1. IE Settings. Step 1: Adding your SharePoint site to Local Intranet zone. 1. IE browser settings 2

Advanced Presentation Features and Animation

1. INTERFACE ENHANCEMENTS 2. REPORTING ENHANCEMENTS

NEW MEXICO Grade 6 MATHEMATICS STANDARDS

TABLE OF CONTENTS. INTRODUCTION... 5 Advance Concrete... 5 Where to find information?... 6 INSTALLATION... 7 STARTING ADVANCE CONCRETE...

Real Time Monitor. A Real-Time Windows Operator Interface. DDE Compliant. (for remote data display)

Using EDA Databases: Milkyway & OpenAccess

Scientific Programming with Python. Randy M. Wadkins, Ph.D. Asst. Prof. of Chemistry & Biochem.

A QUICK OVERVIEW OF THE OMNeT++ IDE

SMART Notebook 10 User s Guide. Linux Operating Systems

Blue Conference Room

Molecular Graphics What?

XCal-View user manual

13 Managing Devices. Your computer is an assembly of many components from different manufacturers. LESSON OBJECTIVES

Integration of C++ digital processing libraries and VTK through Tcl/Tk dynamic loadable extensions

The following is an overview of lessons included in the tutorial.

SCADA/HMI MOVICON TRAINING COURSE PROGRAM

Multi-DNC. by Spectrum CNC Technologies

Lights, Cameras, and Assemblies! Animating using Autodesk Inventor Studio

Lecture Theatre. Introduction This document introduces users to basic system operation procedures using the touch screen.

Visualization with OpenDX

Introduction to Visualization with VTK and ParaView

The software beyond the climatic. Environment simulation

Section I Using Jmol as a Computer Visualization Tool

VIDEO SCRIPT: Data Management

Test Case Spatial Editor Legends

There are numerous ways to access monitors:

How to utilize Administration and Monitoring Console (AMC) in your TDI solution

Finite Element Modeling

STATEMENT OF WORK. NETL Cooperative Agreement DE-FC26-02NT41476

Chapter 15 Using Forms in Writer

CADVANCE Release Notes for V15

WebSphere Business Monitor V7.0 Business space dashboards

Transcription:

Advanced Visualization for Chemistry Part 11 Tools customization Mario Valle March 7 8, 2006 Why we need customization Read new file formats Compute and fuse together new derived quantities Add (computed) new graphical elements in the view Integrate visualization with some computational code Visualization is almost ok, but What the tools offer Save status Scripting language interface TCL Python V (for AVS/Express) C++ API Data model 1

STM3 customization 1. Save application network 2. Modify or create V macros 3. Create modules AVS/Express architecture Object Manager AVS/Express project structure prj Sources avsenv v/ bin/ lib/ include/ bld/ express.* xexpress.* user.* xuser.* templ.v pc/ module1/ express.exe XP_PATH Save Project - Workspace content 2

Create a user interface Add Module Wizard (1 of 3) Add Module Wizard (2 of 3) 3

Add Module Wizard (3 of 3) Interface between V and code Generated by the wizard AVS/Express Code Module definition Interface Code Parameters Behavior Extensibility MolecularDataType group MolecularDataType { int num_atoms; // total number of atoms int atom_z[.num_atoms]; // atomic numbers list string atom_name[.num_atoms]; // atom names as read from the file string residue_name[.num_atoms]; // residue names int residue_id[.num_atoms]; // residue number float xyz_lst[.num_atoms][3]; // atom coordinates float charge_lst[.num_atoms]; // atom charge or generic parameter int num_bonds; // numeber of bonds int connect_lst[2*.num_bonds]; // connection list int bond_type_lst[.num_bonds]; // type of bond; the values are defined in mol_type.h float offset_lst[.num_atoms][3]; // atom offsets provided by some formats group unit_cell { // info on unit cell placement float side_vectors[3][3]; // vectors defining the three unit cell sides float angles[3]; // angles between unit cell sides float origin[3]; // the origin of the unit cell }; group symmetry { // info on atom symmetries string space_group; // the space group symmetry group label }; }; 4

VMD customization Source a TCL script Package a script as an extension Add your code as a loadable TCL command Adding a new format reader TCL To execute Tcl commands, you will be using a convenient text console called Tk Console. Select the Extensions Tk Console menu item. VMD TCL commands animate atomselect axes color colorinfo display exit, quit help imd label light logfile material measure menu molecule or mol molinfo mouse play render rock rotate scale stage tool translate user vmdinfo wait sleep Play/Pause/Rewind a molecular trajectory. Create atom selection objects for analysis. Position a set of XYZ axes on the screen. Change the color assigned to molecules, or edit the colormap. (Tcl) Obtain color properties for various objects Change various aspects of the graphical display window. Quit VMD. Display an on-line help file with an HTML viewer. Control the connection to a remote simulation. Turn on/off labels for atoms, bonds, angles, dihedral angles, or springs. Control the light sources used to illuminate graphical objects. Turn on/off logging a VMD session to a file or the console. Create new material definitions and modify their settings. Measure properties of moleculear structures. Control or query the on-screen GUI menu forms. Load, modify, or delete a molecule. Get information about a molecule or loaded file. Change the current state (mode) of the mouse. Start executing text commands from a specified file. Output the currently displayed image (scene) to a file. Rotate the current scene continually at a specified rate. Rotate the current scene around a given axis by a certain angle. Scale the current scene up or down. Position a checkerboard stage on the screen. Initialize and control external spatial tracking devices. Translate the objects in the current scene. Add new keyboard commands. (Tcl) Get information about this version of VMD Wait a number of seconds before reading another command. Animation continues. Sleep a number of seconds before reading another command. Animation is frozen. 5

The Draw command point {x y z} line {x1 y1 z1} {x2 y2 z2} [width w] [style solid dashed] cylinder {x1 y1 z1} {x2 y2 z2} [radius r] [resolution n] [filled yes no] cone {basex basey basez} {tipz tipy tipz} [radius r] [resolution n] triangle {x1 y1 z1} {x2 y2 z2} {x3 y3 z3} trinorm {x1 y1 z1} {x2 y2 z2} {x3 y3 z3} {nx1 ny1 nz1} {nx2 ny2 nz2} {nx3 ny3 nz3} sphere {x y z} [radius r] [resolution n] text {x y z} text string [size s] Example: MultiMSMS plugin Problem: if you have a trajectory and want to use the MSMS representation, the surface is recomputed for each timestep. Why do not compute them once and simply redisplay them when needed? So I developed the MultiMSMS plugin using pure TCL/Tk <http://www.cscs.ch/~mvalle/chemviz/multimsms.html> Add computational code SWIG wraps C and C++ code as a scripting language loadable extension 6

Something to take home 1. Some tools could be extended 2. The What is more important than the How 3. Ask! We are eager to extend our tools Next steps OK, visualization is not only presentation, but communication is really important for a scientist Advanced Visualization for Chemistry Thanks for your attention! Mario Valle http://www.cscs.ch/~mvalle/ mvalle@cscs.ch 7