Advanced Rappture Concepts and Tips Michael McLennan Software Architect HUBzero™ Platform for Scientific Collaboration.

Slides:



Advertisements
Similar presentations
Easily retrieve data from the Baan database
Advertisements

Chapter 11 Designing the User Interface
Hamilton Venus Software User Interface Options
MS-Access XP Lesson 1. Introduction to MS-Access Database Management System Software (DBMS) Store data in databases Database is a collection of table.
User Interface Structure Design
Professional Toolkit V2.0 C:\Presentations - SmartCafe_Prof_V2.0 - bsc page 1 Professional Toolkit 2.0.
Adding Rappture to MATLAB Applications
1 What’s Under the Hood? Michael McLennan HUBzero® Platform for Scientific Collaboration Purdue University This work licensed under Creative Commons See.
MP IP Strategy Stateye-GUI Provided by Edotronik Munich, May 05, 2006.
ECEN/MAE 3723 – Systems I MATLAB Lecture 1. Lecture Overview  Introduction and History  Matlab architecture  Operation basics  Visualization  Programming.
Carol Song Sr. Research Scientist Rosen Center for Advanced Computing Thanks to M. McLennan for the Rappture slides!
RCAC Research Computing Presents: DiaGird Overview Tuesday, September 24, 2013.
CS320n –Visual Programming LabVIEW Foundations. Visual ProgrammingLabVIEW Foundations2 What We Will Do Today Hand back and review the midterm Look at.
Perl I/O Software Tools. Lecture 15 / Slide 2 Input from STDIN Reading from STDIN is easy, and we have done it many times. $a = ; In a scalar context,
ModelBuilder at ArcGIS 9.2 Lyna Wiggins Rutgers University May 2008.
Matlab Software To Do Analyses as in Marron’s Talks Matlab Available from UNC Site License Download Software: Google “Marron Software”
Multimedia Authoring Tools Lecture 13
1 More Rappture Objects Michael McLennan Software Architect HUBzero™ Platform for Scientific Collaboration This work licensed under Creative Commons See.
1 More Rappture Objects Michael McLennan HUBzero® Platform for Scientific Collaboration Purdue University This work licensed under Creative Commons See.
1-1 OBJ Copyright 2003, Paradigm Publishing Inc. Dr. Joseph Otto Silvia Castaneda Christopher deCastro CSULA Macromedia Flash MX Introduction.
Chapter 10: Graphics MATLAB for Scientist and Engineers Using Symbolic Toolbox.
Regression Testing Michael McLennan HUBzero® Platform for Scientific Collaboration Purdue University This work licensed under Creative Commons See license.
Internet and Distributed Representation of Agent Based Model by- Manish Sharma.
Part 1 – PubMed Interface, Display options, Saving, Printing, and ing results. Instructions This part of the course is a PowerPoint demonstration.
UWG 2013 Meeting PO.DAAC Web Services Demo. What are PO.DAAC Web Services?
1 Advanced Visualization Michael McLennan HUBzero® Platform for Scientific Collaboration Purdue University This work licensed under Creative Commons See.
Software Project Planning Defining the Project Writing the Software Specification Planning the Development Stages Testing the Software.
© 2009 Bentley Systems, Incorporated Chris Collins D&C Manager Quantities.
GIS-Tranplan Interface Sponsored by: Iowa DOT Project Team Members: Jerry Shadewald Richard Storm.
Ovid Scientific Information Management Conference Zagreb Think Fast. Search Faster.
CARDIAC ELECTROPHYSIOLOGY WEB LAB Developing your own protocol descriptions.
Copenhagen, 7 June 2006 Toolkit update and maintenance Anton Cupcea Finsiel Romania.
Tutorial 6 Working with Web Forms. XP Objectives Explore how Web forms interact with Web servers Create form elements Create field sets and legends Create.
Intranet Portal. Intranet Portal to manage all internal activities of a company.
C OMPUTING E SSENTIALS Timothy J. O’Leary Linda I. O’Leary Presentations by: Fred Bounds.
1 Getting Started Exercise Part 1. 2 Profiles related to the exercise When starting use archive profile: GettingStarted_Start.zip The fully completed.
Introducing the Rappture Toolkit Michael McLennan Software Architect HUBzero™ Platform for Scientific Collaboration.
Parameter Study Principles & Practices. What is Parameter Study? Parameter study is the application of a single algorithm over a set of independent inputs:
3 Copyright © 2004, Oracle. All rights reserved. Working in the Forms Developer Environment.
1 Introducing the Rappture Toolkit Michael McLennan HUBzero® Platform for Scientific Collaboration Purdue University This work licensed under Creative.
What’s Under the Hood? Michael McLennan HUBzero® Platform for Scientific Collaboration Purdue University This work licensed under Creative Commons See.
Copyright © 2015 Pearson Education, Inc. Publishing as Pearson Addison-Wesley C H A P T E R 13 GUI Programming.
JDS5 Training Guide. On Start Up you will see this screen click the OK button Click OK.
Parameter Study Principles & Practices. Outline Data Model of the PS Part I Simple PS –Generating simple PS Workflow by introducing PS Input port – using.
Graphical Design Environment for a Reconfigurable Processor IAmE Abstract The Field Programmable Processor Array (FPPA) is a new reconfigurable architecture.
1 Introducing the Rappture Toolkit Michael McLennan Software Architect HUBzero™ Platform for Scientific Collaboration This work licensed under Creative.
PubMed/How to Search, Display, Download & (module 4.1)
Network for Computational Nanotechnology (NCN) Gerhard Klimeck Berkeley, Univ. of Florida, Univ.of Illinois, Norfolk State, Northwestern, Purdue, Stanford,
Correlator GUI Sonja Vrcic Socorro, April 3, 2006.
Introduction to Engineering MATLAB – 9 Plotting - 2 Agenda Formatting plots.
Project Planning Defining the project Software specification Development stages Software testing.
MATLAB and SimulinkLecture 61 To days Outline Graphical User Interface (GUI) Exercise on this days topics.
Creating Charts Ms. Hall Spring Using the Insert Tab to Create Charts The Insert tab contains the command groups you’ll use to create charts in.
LECTURE 2 Python Basics. MODULES So, we just put together our first real Python program. Let’s say we store this program in a file called fib.py. We have.
Advanced Visualization Michael McLennan HUBzero® Platform for Scientific Collaboration Purdue University This work licensed under Creative Commons See.
Profile, HAT, Wireless Toolkit’s Profile Sookmyung Women’s Univ. PSLAB Choi yoonjeong.
1 Network Access to Charm Programs: CCS Orion Sky Lawlor 2003/10/20.
MIS2502: Data Analytics Introduction to Advanced Analytics and R.
Rappture GUI for Carbon Nano Tube Arrays’ mechanical and thermal property simulation By Yide Wang Professor Tim Fisher Sridhar Sadasivam.
Rappture with Fortran Michael McLennan HUBzero® Platform for Scientific Collaboration Purdue University This work licensed under Creative Commons See license.
Data Visualization with Tableau
VisIt Project Overview
QuadriDCM Easy Access as a communication platform
Topics Graphical User Interfaces Using the tkinter Module
Easily retrieve data from the Baan database
In-situ Visualization using VisIt
Band Structure Lab with NEMO5 Yi Shen, Nicolás Esquivel Camacho, Michael Povolotskyi ,and Gerhard Klimeck Approach: The communication between Rappture.
Computer Science Projects Database Theory / Prototypes
5/8/2019 3:20 AM bQuery-Tool 3.0 A new and elegant way to create queries and ad-hoc reports on your Baan/Infor ERP LN data. This Baan session is a query.
CSE 1020:Software Development
Presentation transcript:

Advanced Rappture Concepts and Tips Michael McLennan Software Architect HUBzero™ Platform for Scientific Collaboration

Identify the elements of ’s

P-type purple 0 0.1um N-type green 0.1um 0.2um P-type purple 0 0.1um N-type green 0.1um 0.2um Structure of physical system being simulated Just 1-D boxes, for now

Anode: V 0V Cathode: V 1V … Anode: V 0V Cathode: V 1V … Structure of physical system being simulated Same as before

um … … Doping black log /cm3 doping box0 … um … … Doping black log /cm3 doping box0 … Structure of physical system being simulated

on pdt H S … on pdt H S … Structure of physical system being simulated Turns atom labels on by default

Focus on side of tool.xml executabletool.xml Rappture GUI Produces the user interface automatically! This is my tool. … This is my tool. … description of tool, including inputs and outputs

****** ADEPT/F input file: adp20638 Sat Jul 30 19:39: ****** 1 *title input generated by adeptwr 2 mesh nx=250 xres=0.5 3 misc tempk=300 … ****** ADEPT/F input file: adp20638 Sat Jul 30 19:39: ****** 1 *title input generated by adeptwr 2 mesh nx=250 xres=0.5 3 misc tempk=300 … Standard output from simulator Treated as unimportant (low level) output, and therefore listed last Controls for search through text or, in Python… import Rappture import sys driver = Rappture.library(sys.argv[1]) … driver.put('output.log', stdout) import Rappture import sys driver = Rappture.library(sys.argv[1]) … driver.put('output.log', stdout)

import Rappture import sys driver = Rappture.library(sys.argv[1]) … path = ‘output.string(traj)’ driver.put(path+’.about.label’, ‘Trajectory Data’) driver.put(path+’.about.description’, ‘Data in pdb format’) driver.put(path+’.current’, tdata) import Rappture import sys driver = Rappture.library(sys.argv[1]) … path = ‘output.string(traj)’ driver.put(path+’.about.label’, ‘Trajectory Data’) driver.put(path+’.about.description’, ‘Data in pdb format’) driver.put(path+’.current’, tdata) Other output files from simulator—including binary files Controls for search through text Trajectory Data Data in pdb format REMARK GENERATED BY TRJCONV TITLE Carbon NT in water t= … Trajectory Data Data in pdb format REMARK GENERATED BY TRJCONV TITLE Carbon NT in water t= …

import Rappture import sys driver = Rappture.library(sys.argv[1]) … path = ‘output.curve(single)’ driver.put(path+’.about.label’, ‘Single curve’) driver.put(path+’.xaxis.label’, ‘Time’) driver.put(path+’.xaxis.units’, ‘s’) driver.put(path+’.yaxis.label’, ‘Voltage’) driver.put(path+’.yaxis.units’, ‘V’) data = """ """ driver.put(path+’.component.xy’, data) import Rappture import sys driver = Rappture.library(sys.argv[1]) … path = ‘output.curve(single)’ driver.put(path+’.about.label’, ‘Single curve’) driver.put(path+’.xaxis.label’, ‘Time’) driver.put(path+’.xaxis.units’, ‘s’) driver.put(path+’.yaxis.label’, ‘Voltage’) driver.put(path+’.yaxis.units’, ‘V’) data = """ """ driver.put(path+’.component.xy’, data) X-Y plots

import Rappture import sys driver = Rappture.library(sys.argv[1]) … path = ‘output.curve(m1)’ driver.put(path+’.about.group’, ‘Multiple curves’) driver.put(path+’.about.label’, ‘factor a=1’) … path = ‘output.curve(m2)’ driver.put(path+’.about.group’, ‘Multiple curves’) driver.put(path+’.about.label’, ‘factor a=2’) import Rappture import sys driver = Rappture.library(sys.argv[1]) … path = ‘output.curve(m1)’ driver.put(path+’.about.group’, ‘Multiple curves’) driver.put(path+’.about.label’, ‘factor a=1’) … path = ‘output.curve(m2)’ driver.put(path+’.about.group’, ‘Multiple curves’) driver.put(path+’.about.label’, ‘factor a=2’) Multiple curves on the same plot Same group name Different labels for different curves

import Rappture import sys driver = Rappture.library(sys.argv[1]) … path = ‘output.structure(mol)’ driver.put(path+’.about.label’, ‘Structure’) path += ‘components.molecule’ driver.put(path+’.atom(0).symbol’, ‘H’) driver.put(path+’.atom(0).xyz’, xyz0) driver.put(path+’.atom(1).symbol’, ‘S’) driver.put(path+’.atom(1).xyz’, xyz1) … import Rappture import sys driver = Rappture.library(sys.argv[1]) … path = ‘output.structure(mol)’ driver.put(path+’.about.label’, ‘Structure’) path += ‘components.molecule’ driver.put(path+’.atom(0).symbol’, ‘H’) driver.put(path+’.atom(0).xyz’, xyz0) driver.put(path+’.atom(1).symbol’, ‘S’) driver.put(path+’.atom(1).xyz’, xyz1) … Molecules

import Rappture import sys driver = Rappture.library(sys.argv[1]) … path = ‘output.field(f)’ driver.put(path+’.about.label’, ‘3D Wavefunctions’) driver.put(path+’.component(wf).dx’, dxdata) driver.put(path+’.component(wf).style’, ‘-color blue:red –levels 6 –opacity 1’) driver.put(path+’.component(sh).dx’, dxdat2) driver.put(path+’.component(sh).style’, ‘-color green –levels 1 –min 0 –max 1’) import Rappture import sys driver = Rappture.library(sys.argv[1]) … path = ‘output.field(f)’ driver.put(path+’.about.label’, ‘3D Wavefunctions’) driver.put(path+’.component(wf).dx’, dxdata) driver.put(path+’.component(wf).style’, ‘-color blue:red –levels 6 –opacity 1’) driver.put(path+’.component(sh).dx’, dxdat2) driver.put(path+’.component(sh).style’, ‘-color green –levels 1 –min 0 –max 1’) Scalar field defined over (x,y) or (x,y,z) object 1 class gridpositions counts origin E E E+00 delta delta delta object 2 class gridconnections counts object 3 class array type double rank 0 items data follows E-02 … E-02 attribute "dep" string "positions" object "regular positions regular connections" class field component "positions" value 1 component "connections" value 2 component "data" value 3 nx nynz xgrid zgrid ygrid Scalar values: z-index varies fastest, then y-index, then x-index total number of data points: nx * ny * nz

Animated sequence Frame 1 /9j/4AAQSkZJRgAA… 2 /9j/4ARgASkZJQQR… … Animated sequence Frame 1 /9j/4AAQSkZJRgAA… 2 /9j/4ARgASkZJQQR… … Sequence of images, curves, or fields Just like a normal output image

and Just a number or integer, but compare across many runs import Rappture import sys driver = Rappture.library(sys.argv[1]) … path = ‘output.number(d)’ driver.put(path+’.about.label’, ‘Diameter of quantum dot’) driver.put(path+’.units’, ‘nm’) driver.put(path+’.current’, d) … import Rappture import sys driver = Rappture.library(sys.argv[1]) … path = ‘output.number(d)’ driver.put(path+’.about.label’, ‘Diameter of quantum dot’) driver.put(path+’.units’, ‘nm’) driver.put(path+’.current’, d) … Axis changed

Tight Binding Energy This is the tight binding overlap integral, or hopping energy. It is a measure of the overlap of orbitals at neighboring sites in the nanotube. Typical values are around 3eV. See the references on the tool information page for more details. … Tight Binding Energy This is the tight binding overlap integral, or hopping energy. It is a measure of the overlap of orbitals at neighboring sites in the nanotube. Typical values are around 3eV. See the references on the tool information page for more details. … Describe everything What are these two parameters? Rappture generates this part automatically Good descriptions say: What the parameter means Typical value or range What happens at 0 or min What happens at  or max

Describe EVERYTHING You can add ’s to… All inputs All outputs within a Examples accessed through and with a

Give feedback during simulation in Fortran: call rp_utils_progress (75, “Iterating...”) in C: rpUtilsProgress(75, “Iterating...”); in Matlab: rpUtilsProgress(75, ‘Iterating...’) in Python: Rappture.Utils.progress(75, ‘Iterating...’) in Perl: Rappture::Utils::progress(75, “Iterating...”) Overall percentage complete Status message

Provide supporting materials FETToy simulator Learning Module Seminar Homework Assignment

Create your own seminars Easy as 1, 2, 3… 1 Start with your PowerPoint presentation 2 Download our Breeze plug-in and add your voice 3 Have Breeze “publish” the result as a zip file Your Seminar