TRANSP to ElVis: elvislib By: Ben Bariteau Mentor: Doug McCune.

Slides:



Advertisements
Similar presentations
HTML I. HTML Hypertext mark-up language. Uses tags to identify elements of a page so that a browser such as Internet explorer can render the page on a.
Advertisements

Internet Basics & Way Beyond!
HTML popo.
Internet Services and Web Authoring (CSET 226) Lecture # 5 HyperText Markup Language (HTML) 1.
Generating GAIGS XML Scripts I Integrating Algorithm Visualization into Computer Science Education Grand Valley State University June 13-16, 2006.
Cascading Style Sheets
C HAPTER – 3 I NTRODUCTION TO H TML By :- Pinkesh H. Patel.
Enhancements to ElVis Scientific Graphics Software Tarun Pondicherry Ben Phillips PPPL Science Education Summer Interns Eliot Feibush – Mentor August 14,
MATLAB’s extensive, device-independent plotting capabilities are one of its most powerful features. They make it very easy to plot any data at any time.
HTML and Web Page Design Presented by Frank H. Osborne, Ph. D. © 2005 ID 2950 Technology and the Young Child.
XP Creating Web Pages with HTML Using Tables. XP Objectives Create a text table Create a table using the,, and tags Create table headers and captions.
© Prentice Hall CHAPTER 3 Computer Software.
Microsoft Office XP Illustrated Introductory, Enhanced Office Applications with Internet Explorer Integrating.
Creating Web Page Forms
ElVis Features & Animations Michael Shmulevich PPPL Summer High School Intern Mentor – Eliot Feibush August 14, 2008.
XP New Perspectives on Microsoft Access 2002 Tutorial 71 Microsoft Access 2002 Tutorial 7 – Integrating Access With the Web and With Other Programs.
1 The Structure of a Web Table beginning of the table structure first row of three in the table end of the table structure table cells You do not need.
Chapter 9 Collecting Data with Forms. A form on a web page consists of form objects such as text boxes or radio buttons into which users type information.
Use a Large Bold Type for the Main Title Use Smaller Type for the Subtitle. Above type is 96 pt, this type is 66 pt Make Authors’ names smaller. This is.
ElVis web services and systems Matt Milano Mentor - Eliot Feibush.
Working with Worksheet
Copyright © Texas Education Agency, All rights reserved. 1 Web Technologies Website Development with Dreamweaver.
Computer Science 101 Introduction to Web Pages. Origins of the Web Vannevar Bush (Memex, 1945) Ted Nelson (Xanadu, 1968) Doug Englebart and Alan Kay (
ElVis Developments for Simulation and Analysis Programs Tarun Pondicherry Summer 2006 Science Ed High School Intern Eliot Feibush, Mentor 8/16/2006.
Introduction to MATLAB adapted from Dr. Rolf Lakaemper.
Web Technologies Website Development Trade & Industrial Education
Tutorial 10 Adding Spry Elements and Database Functionality Dreamweaver CS3 Tutorial 101.
Tutorial 1 Getting Started with Adobe Dreamweaver CS3
Tutorial 1: An Introduction to Visual Basic.NET1 Tutorial 1 An Introduction to Visual Basic.NET.
Website Development with Dreamweaver
CP2022 Multimedia Internet Communication1 HTML and Hypertext The workings of the web Lecture 7.
1 CSC 121 Computers and Scientific Thinking David Reed Creighton University HTML and Web Pages.
DHTML AND JAVASCRIPT Genetic Computer School LESSON 2 HTML TAGS G H E F.
® IBM Software Group © 2006 IBM Corporation Programmatically Rendering and Hiding JSF Controls This section describes how to hide and show JSF controls.
Computational Biology, Part E Basic Principles of Computer Graphics Robert F. Murphy Copyright  1996, 1999, 2000, All rights reserved.
9 Chapter Nine Compiled Web Server Programs. 9 Chapter Objectives Learn about Common Gateway Interface (CGI) Create CGI programs that generate dynamic.
Development of ORBIT Data Generation and Exploration Routines G. Shelburne K. Indireshkumar E. Feibush.
XP New Perspectives on The Internet, Sixth Edition— Comprehensive Tutorial 8 1 Creating Effective Web Pages Creating HTML Documents Tutorial 8.
PPPL Spring/Summer CO-OP 2006 Stephen Krenzel. Focus of the CO-OP The co-op focused on improving ElVis, an application for the visualization and monitoring.
Tutorial 7 Creating Forms. Objectives Session 7.1 – Create an HTML form – Insert fields for text – Add labels for form elements – Create radio buttons.
Just Enough HTML How to Create Basic HTML Documents.
Microsoft Visual Basic 2005: Reloaded Second Edition Chapter 2 Creating a User Interface.
Chapter 8 Introduction to HTML and Applets Fundamentals of Java.
INDIANAUNIVERSITYINDIANAUNIVERSITY OneStart page types  Tab – pages across the top, immutable  Section – pages down the left  Subsection – pages under.
Designing a Web Page with Tables. A text table: contains only text, evenly spaced on the Web page in rows and columns uses only standard word processing.
Chapter One An Introduction to Visual Basic 2010 Programming with Microsoft Visual Basic th Edition.
Vectors and Matrices In MATLAB a vector can be defined as row vector or as a column vector. A vector of length n can be visualized as matrix of size 1xn.
Reports 5.02 Understand database queries, forms, and reports used in business.
IReport Demo Spring 2008 OEDSA Conference. Report Properties.
Computer Literacy BASICS: A Comprehensive Guide to IC 3, 5 th Edition Lesson 19 Organizing and Enhancing Worksheets 1 Morrison / Wells / Ruffolo.
LEARNING HTML PowerPoint #1 Cyrus Saadat, Webmaster.
CIS234A- Lecture 7 Instructor Greg D’Andrea. Tables A table can be displayed on a Web page either in a text or graphical format. A text table: – contains.
Computational Boot Camp HTML Mike Schaffer. 8/23/2002 (MES) HTML What is HTML? HTML stands for HyperText Markup Language HTML is the language for publishing.
HTML ( HYPER TEXT MARK UP LANGUAGE ). What is HTML HTML describes the content and format of web pages using tags. Ex. Title Tag: A title It’s the job.
ElVis Tutorial Eliot Feibush
Formatting WorksheetsFormatting Worksheets Lesson 7.
HTML BTEC National in Computing Section5. Create Information “HTML: defining HTML, discussing HTML uses and demonstrating HTML basics, HTML structure…..
How the Web Works Building a Website – Lesson 1. How People Access the Web Browsers People access websites using software called a web browser. To view.
McGraw-Hill Career Education© 2008 by the McGraw-Hill Companies, Inc. All Rights Reserved. Office Excel 2007 Lab 2 Charting Worksheet Data.
1 Lesson 13 Organizing and Enhancing Worksheets Computer Literacy BASICS: A Comprehensive Guide to IC 3, 3 rd Edition Morrison / Wells.
HTML Basics Computers. What is an HTML file? *HTML is a format that tells a computer how to display a web page. The documents themselves are plain text.
Creating visual interfaces in python
A (VERY) SHORT INTRODUCTION TO MATLAB J.A. MARR George Mason University School of Physics, Astronomy and Computational Sciences.
ElVis Improvements Summer 2008 Eric Zatz PPPL Summer Intern Mentor – Eliot Feibush August 11, 2008.
Chapter 5 Introduction To Form Builder. Lesson A Objectives  Display Forms Builder forms in a Web browser  Use a data block form to view, insert, update,
Data Optimization for Reflectometer Simulation Marc Osherson Science Education Summer Intern 9/1/2005.
Introduction lab1. Suzanne J. Sultan 2 What is HTML? The definition of HTML is Hyper Text Markup Language. HTML is a computer language devised to allow.
HTML Tags BTT1O. HTML  Documents written in hypertext markup language can be interpreted by all web browsers.  This language lets the web page developer.
Permeability (% of Control)
Permeability (% of Control)
Presentation transcript:

TRANSP to ElVis: elvislib By: Ben Bariteau Mentor: Doug McCune

Scientific Graphics

3 Data Monitoring Integrated with Job Monitoring

Web Services

ElVis Software Package Display program – 45,000 lines of Java code – 300 classes – Summer ’08: Over 200 updates to the code Application Programming Interface (API) – Fortran – C/C++ – Java

TRANSP and elvislib elvislib was created primarily for TRANSP so that the Fortran and C programs within TRANSP could take advantage of the Java visualization tool ElVis – elvislib is primarily used with programs like rplot, cstate, and sigtab for displaying graphs and tables with a GUI that allows for intuitive manipulation and management tools ElVis was created with these programs in mind, which led to the creation of elvislib for these programs to send data to ElVis

elvislib EML Transfer elvislib stores information in memory about different types of graphs, including normal two dimensional graphs, surface plots, indexed graphs, and tables – This information is translated into EML when ef_graphwindowdisplay() is called

Sending EML files ef_sendfile() was created to send files to ElVis after they have been generated. elvis_send_file uses ef_sendfile() to send files through the CLI Changes in code: – ef_sendfile() was created in graphwindow.c, which sends files to the destinations in the ElVis environment variable Challenges: – elvis_send_file had to remove all filenames from the ElVis environment variable, so that files could not be written to and read from simultaneously – ef_sendfile() had to be able to send concatenated EML, so that ElVis did not throw exceptions.

ElVis Markup Language (EML)‏ EML is an XML-based language – Designed by Steve Krenzel Tags contain information that is sent from elvislib to ElVis elvislib creates these tags and ElVis translates these into graphs

EML DTD

Hierarchical EML Structure All EML is contained within a tag – A graphwindow is contained within a tag Graphs are contained within a tag

Tables Tables can now be sent to ElVis Changes in code: – Column structure added Column structure allows for an array of strings Columns have their own background and font colors, as well as font style (Italic, Bold) and a font (Serif, Monospaced, etc.)‏ Column has a header that is the title of the column.

Tables, contd. Changes in code: – columnList added to Graph structure A list of Columns contained in a Table graph. – topTextList and bottomTextList added to Graph structure Lists of Labels that appear at the top and bottom of the Table, respectively. Each label has it's own color, background color, font, and style attributes – Added EML output for Tables

Table Functions Functions added to the API concerning Tables: – ef_tablecreate()‏ – ef_columncreate()‏ – ef_tableaddcolumn()‏ – ef_graphwindowaddtable()‏ – ef_columnsetrowlabels()‏ – ef_columnsetbgcolor()‏ – ef_columnsetheader()‏ – ef_columnsetfontname()‏ – ef_columnsetfontstyle()‏ – ef_columnsetfontsize()‏ – ef_columnsetfontcolor()‏ – ef_tableaddtoptext()‏ – ef_tableaddbottomtext()‏

Tables and EML Tables use multiple tags – Within each tag there can be a number of s Each contains a value attribute – A can contain any of the attributes listed on the right Tables can also have multiple and tags – These can contain the attributes listed on the right

Tables - Challenges Creating a structure that could hold all the data necessary and adding it to the current structures Getting arrays of strings from Fortran to C Defining the color mechanism (next section)‏

Colors Colors were used in ef_graphaddlabel() ef_tableaddtoptext() ef_tableaddbottomtext() ef_columnsetbgcolor() ef_columnsetfontcolor()‏ Previously, the API used 3 floating-point numbers from 0.0 to 1.0 to represent colors – This made compatibility easy, but it was not intuitive Now, the API takes a string with either a color value (i.e. “rgb: ”) or color name (i.e. “name: blue”)‏ – Future colorspaces like HSV can be added

Logarithmic Z Axis in Surface Plots The index (Z) axis of this surface plot can now be set to be logarithmic, unlike before, where it could only be linear Default linear on left, logarithmic on right Used through ef_graphsetzaxis()‏

Log Z-axis and EML The z-axis logarithmic/linear scale control is sent through the tags – tags have a numberstyle attribute which controls the scale of a graph This is interpreted through an with direction of “z” and a numberstyle of “4”

Short Title shortTitle in the tag – i.e., This allows for the a smaller title to be shown when the graph becomes too small to display the normal title – The top graph is large enough to show the entire title, while the bottom one is small enough to show a shortened smaller title

Short Title and EML Short title was added to the EML through an attribute in the tag – now has an attribute called shortTitle, which specifies the short title This is generated by elvislib when a shortTitle is specified

Gridlines It is now possible to add gridlines to normal graphs using ef_setxgrid and ef_setygrid Examples of their effect can be seen above (no gridlines on left, gridlines on right)‏

Gridlines and EML Gridlines are shown through the showGridlines attribute on the axis tag – This can be “true” or “false”, and is generated by elvislib accordingly

Multiple ElVis Displays More than one server and/or filename – A filename beginning with '/' or '.' – A hostname or IP – localhost (uses the current computer as the host)‏ – stderr or stdout – filegen automatically generates a filename with PID, application name, and username

Multiple ElVis Displays, contd. Changes in code: – In graphwindow.c: ef_initialize() now handles ElVis output environment variable exclusively initialize() was changed to use an index to find a certain output an index to find a certain output ef_GraphWindowSendEML() now loops through all outputs, sends EML to each – In binio.c: binio_set_gwFile() added to set gwfile in binio.c Challenges: – The mechanism for sending output to a file had to be circumvented with binio_set_gwFile()‏ – All other uses of environment variables removed or changed

Acknowledgments Doug McCune, TRANSP developer, my mentor Eliot Feibush – ElVis creator and developer, my mentor Andrew Zwicker, Christine Ritter, James Morgan – PPPL Science Education Program Eric Zatz – ElVis Display-side EML Developer

Questions?

Ben – API, EML Mike Movie Making User Enhancements Tutorials Eric Zatz -CPPG summer undergrad ElVis Mark-Up Language Matt System & Services Eliot - Mentor Doug – Mentor CPPG Group Head