3D Data visualization with Mayavi and TVTK
|
|
- Franklin Wells
- 6 years ago
- Views:
Transcription
1 3D Data visualization with Mayavi and TVTK Prabhu Ramachandran Department of Aerospace Engineering IIT Bombay Advanced tutorials at SciPy09 Caltech, Pasadena Aug. 18, 2009 Prabhu Ramachandran (IIT Bombay) Mayavi2 tutorial 1 / 73
2 Objectives At the end of this session you will be able to: 1 Use mlab effectively to visualize numpy array data of various kinds 2 Apply some of mayavi s advanced features 3 Embed mayavi visualizations in your dialogs 4 Create TVTK datasets for more effective visualization (if time permits)
3 Outline 1 Quick introduction to Mayavi 2 mlab 3 Embedding mayavi 4 Creating and working with datasets Prabhu Ramachandran (IIT Bombay) Mayavi2 tutorial 3 / 73
4 Outline 1 Quick introduction to Mayavi 2 mlab 3 Embedding mayavi 4 Creating and working with datasets Prabhu Ramachandran (IIT Bombay) Mayavi2 tutorial 4 / 73
5 Who are we? Prabhu Ramachandran Creator and lead, 2001 Gaël Varoquaux Mlab, documentation, usability, 2007 Enthought Inc. ETS, Hosting, support, sprints, initial funding, distribution Prabhu Ramachandran (IIT Bombay) Mayavi2 tutorial 5 / 73
6 History Mayavi-1.x: 2001 TVTK: 2004, Enthought Mayavi2: 2005, Enthought, IITB 2008: Mayavi sprint Prabhu Ramachandran (IIT Bombay) Mayavi2 tutorial 6 / 73
7 Overview of features
8 mlab: interactive work from enthought. mayavi import mlab from numpy import o g r i d x, y, z = o g r i d [ 5:5:64 j, 5:5:64 j, 5:5:64 j ] mlab. contour3d ( x x y y + z z 2) mlab. show ( )
9
10 Live in your dialogs
11 Mayavi in applications
12 Exploring the documentation
13 Other features Easy customization Offscreen animations Automatic script generation Powerful command line options
14 Summary mayavi Uses VTK ( BSD license Linux, win32 and Mac OS X Highly scriptable Embed in Traits UIs (wxpython and PyQt4) Envisage Plugins Debian/Ubuntu/Fedora Pythonic 10
15 Outline 1 Quick introduction to Mayavi 2 mlab 3 Embedding mayavi 4 Creating and working with datasets Prabhu Ramachandran (IIT Bombay) Mayavi2 tutorial 15 / 73
16 Overview Simple Convenient Full-featured Prabhu Ramachandran (IIT Bombay) Mayavi2 tutorial 16 / 73
17 Getting started Vanilla: $ ipython wthread with Pylab: $ ipython pylab wthread
18 Using mlab: >>> from enthought. mayavi import mlab Try these: >>> mlab. test_ <TAB> >>> mlab. test_contour3d ( ) >>> mlab. test_contour3d??
19 Exploring the view Mouse Keyboard Toolbar Mayavi icon 15
20 mlab plotting functions 0D data >>> from numpy import >>> t = l i n s p a c e ( 0, 2 pi, 50) >>> u = cos ( t ) p i >>> x, y, z = s i n ( u ), cos ( u ), s i n ( t ) >>> mlab.points3d(x, y, z)
21 Changing how things look Clearing the view >>> mlab.clf() IPython is your friend! >>> mlab.points3d? Extra argument: Scalars Keyword arguments UI >>> mlab. points3d ( x, y, z, t, scale_mode= none )
22 Changing how things look Clearing the view >>> mlab.clf() IPython is your friend! >>> mlab.points3d? Extra argument: Scalars Keyword arguments UI >>> mlab. points3d ( x, y, z, t, scale_mode= none )
23 Changing how things look Clearing the view >>> mlab.clf() IPython is your friend! >>> mlab.points3d? Extra argument: Scalars Keyword arguments UI >>> mlab. points3d ( x, y, z, t, scale_mode= none )
24 1D data >>> mlab.plot3d(x, y, z, t ) Plots lines between the points
25 2D data >>> x = mgrid [ 3:3:100 j, 3:3:100 j ] >>> z = s i n ( x x + y y ) >>> mlab.surf(x, y, z) Assumes the points are rectilinear
26 2D data: mlab.mesh >>> mlab.mesh(x, y, z) Points needn t be regular >>> phi, t h e t a = numpy. mgrid [ 0 : p i :20 j,... 0:2 p i :20 j ] >>> x = s i n ( phi ) cos ( t h e t a ) >>> y = s i n ( phi ) s i n ( t h e t a ) >>> z = cos ( phi ) >>> mlab. mesh ( x, y, z,... r e p r e s e n t a t i o n = wireframe )
27 3D data >>> x, y, z = o g r i d [ 5:5:64 j,... 5:5:64 j,... 5:5:64 j ] >>> mlab. contour3d ( x x y y + z z 2)
28 3D vector data: mlab.quiver3d >>> mlab. t e s t _ q u i v e r 3 d ( ) obj = mlab.quiver3d(x, y, z, u, v, w)
29 3D vector data: mlab.flow >>> x, y, z = mgrid [ 2:3, 2:3, 2:3] >>> r = s q r t ( x 2 + y 2 + z 4) >>> u = y s i n ( r ) / ( r ) >>> v = x s i n ( r ) / ( r ) >>> w = z e r o s _ l i k e ( z ) >>> obj = mlab. flow ( x, y, z, u, v, w, seedtype= plane ) >>> obj. stream_tracer. i n t e g r a t o r _ t y p e = \ runge_kutta45 35
30 Exercise: Lorenz equation dx dt dy dt dz dt = s(y x) = rx y xz = xy bz Let s = 10, r = 28, b = 8./3. Region of interest x, y, z = mgrid [ 50:50:20 j, 50:50:20 j, 10:60:20 j ] Use mlab.quiver3d
31 Solution def l o r e n z ( x, y, z, s =10., r =28., b = 8. / 3. ) : u = s ( y x ) v = r x y x z w = x y b z return u, v, w x, y, z = mgrid [ 50:50:20 j, 50:50:20 j, 10:60:20 j ] u, v, w = l o r e nz ( x, y, z ) # Your p l o t here # mlab. show ( )
32 Issues and solutions Basic visualization: not very useful Tweak parameters: mask_points, scale_factor Explore parameters on UI mlab.flow is a lot better! Good visualization involves work
33 Other utility functions gcf: get current figure savefig, figure axes, outline title, xlabel, ylabel, zlabel colorbar, scalarbar, vectorbar show: Standalone mlab scripts Others, see UG
34 Other utility functions gcf: get current figure savefig, figure axes, outline title, xlabel, ylabel, zlabel colorbar, scalarbar, vectorbar show: Standalone mlab scripts Others, see UG
35 Other utility functions gcf: get current figure savefig, figure axes, outline title, xlabel, ylabel, zlabel colorbar, scalarbar, vectorbar show: Standalone mlab scripts Others, see UG
36 Other utility functions gcf: get current figure savefig, figure axes, outline title, xlabel, ylabel, zlabel colorbar, scalarbar, vectorbar show: Standalone mlab scripts Others, see UG
37 Other utility functions gcf: get current figure savefig, figure axes, outline title, xlabel, ylabel, zlabel colorbar, scalarbar, vectorbar show: Standalone mlab scripts Others, see UG
38 Other utility functions gcf: get current figure savefig, figure axes, outline title, xlabel, ylabel, zlabel colorbar, scalarbar, vectorbar show: Standalone mlab scripts Others, see UG
39 Other utility functions gcf: get current figure savefig, figure axes, outline title, xlabel, ylabel, zlabel colorbar, scalarbar, vectorbar show: Standalone mlab scripts Others, see UG
40 Can we do more? Yes!
41 quiver3d ( x, y, z, u, v, w, s c a l e _ f a c t o r =0.01, mask_points =5)
42 Looking inside
43 The pipeline 55
44 Mayavi Engine TVTK Scene Source Filter ModuleManager Lookup tables List of Modules
45 Changing the pipeline On UI Right click on node drag drop Script Or use mlab.pipeline Example: mlab.pipeline. outline () obj.remove()
46 Exercise >>> mlab. t e s t _ q u i v e r 3 d ( ) Hide vectors, add a Vector Cut Plane >>> mlab. t e s t _ f l o w ( ) Add a Vector Cut Plane
47 Exercise >>> mlab. t e s t _ q u i v e r 3 d ( ) Hide vectors, add a Vector Cut Plane >>> mlab. t e s t _ f l o w ( ) Add a Vector Cut Plane
48 Surprised?
49 So what is the problem?
50 Points?
51 Curve?
52 Surface?
53 Interior of sphere?
54 Datasets Quiver v/s Flow Get back to this later! 70
55 Recap mlab gets you started Pipeline and data flow Datasets are important
56 Changing the pipeline On UI Right click on node drag drop Script Or use mlab.pipeline Example: mlab.pipeline. outline () obj.remove()
57 mlab and Mayavi2? mlab is just a thin layer over the Mayavi OO API mlab commands return mayavi objects
58 Exercise 1 Start with flow for the Lorenz system 2 Now extract the vector norm (use a filter) 3 Plot iso-contours of this 4 Figure out how to do this from the UI and mlab.pipeline 80 Prabhu Ramachandran (IIT Bombay) Mayavi2 tutorial 49 / 73
59 So how do you make a fancier script? Use script recording Demo
60 So how do you make a fancier script? Use script recording Demo
61 Animating data >>> s = mlab. flow ( x, y, z, u, v, w) >>> s. mlab_source. u = u z mlab_source.set: multiple attributes If you change the shape of the arrays use the reset method
62 Setting the view >>> p r i n t mlab. view ( ) >>> mlab. view ( azimuth=none, e l e v a t i o n =None, distance=none, f o c a l p o i n t =None ) 95
63 Outline 1 Quick introduction to Mayavi 2 mlab 3 Embedding mayavi 4 Creating and working with datasets Prabhu Ramachandran (IIT Bombay) Mayavi2 tutorial 53 / 73
64 General approach Embed Mayavi into a dialog box Use traits to wire up everything Full power of mayavi at your disposal
65 Simple example 105
66 Exercise: Lorenz trajectory Use the provided skeleton script 1 Create a simple UI to show a trajectory 2 Create sliders to change the position of the initial condition 3 Create a UI element to change the integration time 110 Prabhu Ramachandran (IIT Bombay) Mayavi2 tutorial 56 / 73
67 Outline 1 Quick introduction to Mayavi 2 mlab 3 Embedding mayavi 4 Creating and working with datasets Prabhu Ramachandran (IIT Bombay) Mayavi2 tutorial 57 / 73
68 Motivation Datasets are fundamental to doing visualization correctly Motivational problem Atmospheric data of temperature over the surface of the earth. Let temperature (T ) vary linearly with height (z): T = z
69 Simple solution l a t = l i n s p a c e ( 89, 89, 37) lon = l i n s p a c e ( 0, 360, 37) z = l i n s p a c e ( 0, 100, 11) x, y, z = mgrid [0:360:37 j, 89:89:37 j, 0:100:11 j ] t = z mlab. contour3d ( x, y, z, t ) mlab. o u t l i n e ( ) mlab. c o l o r b a r ( )
70 Simple solution l a t = l i n s p a c e ( 89, 89, 37) lon = l i n s p a c e ( 0, 360, 37) z = l i n s p a c e ( 0, 100, 11) x, y, z = mgrid [0:360:37 j, 89:89:37 j, 0:100:11 j ] t = z mlab. contour3d ( x, y, z, t ) mlab. o u t l i n e ( ) mlab. c o l o r b a r ( )
71 What happens underneath? P = mlab. p i p e l i n e src = P. s c a l a r _ f i e l d ( x, y, z, t ) i s o = P. iso_surface ( src ) # Try t h i s. p r i n t src
72 The underlying dataset from enthought. t v t k. api import t v t k o r i g = ( 0, 90, 0) spacing = (10, 5, 10) dims = (37, 37, 11) i d = t v t k. ImageData ( o r i g i n = orig, spacing =spacing, dimensions=dims ) i d. point_data. s c a l a r s = t. T. f l a t t e n ( ) i d. point_data. s c a l a r s. name = T # View i t. src = P. add_dataset ( i d ) i s o = P. iso_surface ( src )
73 The general idea Specify the points (explicitly or implicitly) Specify the connectivity between the points (explicit/implicit) The connectivity lets you build cells that break the space into pieces Specify attribute data at the points or cells Points Rectangular cell Triangular cells Point data Cell data 20 10
74 Types of datasets Implicit topology (structured): Image data (structured points) Rectilinear grids Structured grids Explicit topology (unstructured): Polygonal data (surfaces) Unstructured grids
75 Implicit versus explicit topology Implicit topology associated with points: The X co-ordinate increases first, Y next and Z last Easiest example: a rectangular mesh Non-rectangular mesh certainly possible Prabhu Ramachandran (IIT Bombay) Mayavi2 tutorial 64 / 73
76 # Reorder the p o i n t s / s c a l a r s f o r VTK pts = pts. transpose ( 2, 1, 0, 3 ). copy ( ) pts. shape = pts. size / 3, 3 t = t. T. copy ( ) On a sphere? lon, l a t, ht = x p i /180, (90+y ) p i /180, z r = ( ht ) tmp = r s i n ( l a t ) # Points on the sphere x, y, z = tmp cos ( lon ), tmp s i n ( lon ), r cos pts = empty ( x. shape + ( 3, ), dtype= f l o a t ) pts [..., 0 ] = x pts [..., 1 ] = y pts [..., 2 ] = z
77 sg = t v t k. S t r u c t u r e d G r i d ( ) sg. dimensions = x. shape sg. p o i n t s = pts sg. point_data. s c a l a r s = t. r a v e l ( ) sg. point_data. s c a l a r s. name = T P = mlab. p i p e l i n e src = P. add_dataset ( sg ) P. grid_plane ( src ) P. iso_surface ( src, contours =1) mlab. show ( )
78 # Save a dataset to disk. from enthought. t v t k. api import w r i t e _ d a t a w r i t e _ d a t a ( dataset, fname ) # Open back t h e data. mlab. p i p e l i n e. open ( fname ) Try right clicking a node!
79 Unstructured grids Explicit topology specification Specified via connectivity lists Different number of neighbors, different types of cells
80 PolyData from enthought. t v t k. api import t v t k # The p o i n t s i n 3D. p o i n t s = array ( [ [ 0, 0, 0 ], [ 1, 0, 0 ], [ 0, 1, 0 ], [ 0, 0, 1 ] ] # C o n n e c t i v i t y v i a i n d i c e s to the p o i n t s. t r i a n g l e s = array ( [ [ 0, 1, 3 ], [ 0, 3, 2 ], [ 1, 2, 3 ], [ 0, 2, # Creating the data o b j e c t. mesh = t v t k. PolyData ( ) mesh. p o i n t s = p o i n t s # the p o i n t s mesh. polys = t r i a n g l e s # t r i a n g l e s f o r c o n n e c t i v i t y # For l i n e s / v e r t s use : mesh. l i n e s = l i n e s ; mesh. v e r # Now create some p o i n t data. temperature = array ( [ 1 0, 20,20, 30], f ) mesh. point_data. s c a l a r s = temperature mesh. point_data. s c a l a r s. name = temperature Prabhu Ramachandran (IIT Bombay) Mayavi2 tutorial 69 / 73
81 PolyData from enthought. t v t k. api import t v t k # The p o i n t s i n 3D. p o i n t s = array ( [ [ 0, 0, 0 ], [ 1, 0, 0 ], [ 0, 1, 0 ], [ 0, 0, 1 ] ] # C o n n e c t i v i t y v i a i n d i c e s to the p o i n t s. t r i a n g l e s = array ( [ [ 0, 1, 3 ], [ 0, 3, 2 ], [ 1, 2, 3 ], [ 0, 2, # Creating the data o b j e c t. mesh = t v t k. PolyData ( ) mesh. p o i n t s = p o i n t s # the p o i n t s mesh. polys = t r i a n g l e s # t r i a n g l e s f o r c o n n e c t i v i t y # For l i n e s / v e r t s use : mesh. l i n e s = l i n e s ; mesh. v e r # Now create some p o i n t data. temperature = array ( [ 1 0, 20,20, 30], f ) mesh. point_data. s c a l a r s = temperature mesh. point_data. s c a l a r s. name = temperature Prabhu Ramachandran (IIT Bombay) Mayavi2 tutorial 69 / 73
82 Summary 125
83 Advanced features Command line arguments, timeseries, scripting A demo with files
84 $ mayavi2 h $ mayavi2 d boundary. xml m Surface \ d f l u i d _ 0. xml m Surface
85 Thank you!
Introduction to Python for Science
Introduction to Python for Science Release 1 Gaël Varoquaux August 19, 2009 CHAPTER 1 A simple example Warning: Start ipython -wthread ii import numpy as np x, y = np.mgrid[-10:10:100j, -10:10:100j] r
More informationVisualization with ParaView
Visualization with Before we begin Make sure you have 3.10.1 installed so you can follow along in the lab section http://paraview.org/paraview/resources/software.html http://www.paraview.org/ Background
More informationContour Analysis And Visualization
Contour Analysis And Visualization Objectives : stages The objectives of Contour Analysis and Visualization can be described in the following 1. To study and analyse the contour 2. Visualize the contour
More informationIntroduction to scientific visualization with ParaView
Introduction to scientific visualization with ParaView Paul Melis SURFsara Visualization group paul.melis@surfsara.nl (some slides courtesy of Robert Belleman, UvA) Outline Introduction, pipeline and data
More informationInsight VisREU Site. Agenda. Introduction to Scientific Visualization Using 6/16/2015. The purpose of visualization is insight, not pictures.
2015 VisREU Site Introduction to Scientific Visualization Using Vetria L. Byrd, Director Advanced Visualization VisREU Site Coordinator REU Site Sponsored by NSF ACI Award 1359223 Introduction to SciVis(High
More informationIntroductory Scientific Computing with Python
Introductory Scientific Computing with Python Introduction, IPython and Plotting FOSSEE Department of Aerospace Engineering IIT Bombay SciPy India, 2015 December, 2015 FOSSEE group (IIT Bombay) Interactive
More informationData analysis with ParaView CSMP Workshop 2009 Gillian Gruen
Data analysis with ParaView 3.4.0 CSMP Workshop 2009 Gillian Gruen How to...... display a data set ( Contour, Glyph, Clip, Slice) be efficient in displaying similar data sets ( work with Lookmarks )...
More informationAMath 483/583 Lecture 28 June 1, Notes: Notes: Python scripting for Fortran codes. Python scripting for Fortran codes.
AMath 483/583 Lecture 28 June 1, 2011 Today: Python plus Fortran Comments on quadtests.py for project Linear vs. log-log plots Visualization Friday: Animation: plots to movies Binary I/O Parallel IPython
More informationPlotting With matplotlib
Lab Plotting With matplotlib and Mayavi Lab Objective: Introduce some of the basic plotting functions available in matplotlib and Mayavi. -D plotting with matplotlib The Python library matplotlib will
More informationIntroductory Scientific Computing with Python
Introductory Scientific Computing with Python More plotting, lists and FOSSEE Department of Aerospace Engineering IIT Bombay SciPy India, 2015 December, 2015 FOSSEE (FOSSEE IITB) Interactive Plotting 1
More informationIntroduction to Python and VTK
Introduction to Python and VTK Scientific Visualization, HT 2013 Lecture 2 Johan Nysjö Centre for Image analysis Swedish University of Agricultural Sciences Uppsala University 2 About me PhD student in
More informationIntroduction to scientific visualization with ParaView
Introduction to scientific visualization with ParaView Tijs de Kler SURFsara Visualization group Tijs.dekler@surfsara.nl (some slides courtesy of Robert Belleman, UvA) Outline Pipeline and data model (10
More informationMayavi: 3D visualization of scientific data
Mayavi: 3D visualization of scientific data Prabhu Ramachandran, Gaël Varoquaux To cite this version: Prabhu Ramachandran, Gaël Varoquaux. Mayavi: 3D visualization of scientific data. COMPUTING IN SCIENCE
More informationVIEWZ 1.3 USER MANUAL
VIEWZ 1.3 USER MANUAL 2007-08 Zeus Numerix ViewZ 1.3.0 User Manual Revision: 200806061429 The latest copy of this PDF may be downloaded from the website. An online (HTML) version is also available. Zeus
More informationRhinoCFD Tutorial. Flow Past a Sphere
RhinoCFD Tutorial Flow Past a Sphere RhinoCFD Ocial document produced by CHAM September 26, 2017 Introduction Flow Past a Sphere This tutorial will describe a simple calculation of ow around a sphere and
More informationACGV 2008, Lecture 1 Tuesday January 22, 2008
Advanced Computer Graphics and Visualization Spring 2008 Ch 1: Introduction Ch 4: The Visualization Pipeline Ch 5: Basic Data Representation Organization, Spring 2008 Stefan Seipel Filip Malmberg Mats
More informationINTRODUCTION TO MATLAB, SIMULINK, AND THE COMMUNICATION TOOLBOX
INTRODUCTION TO MATLAB, SIMULINK, AND THE COMMUNICATION TOOLBOX 1) Objective The objective of this lab is to review how to access Matlab, Simulink, and the Communications Toolbox, and to become familiar
More informationFirst Steps - Ball Valve Design
COSMOSFloWorks 2004 Tutorial 1 First Steps - Ball Valve Design This First Steps tutorial covers the flow of water through a ball valve assembly before and after some design changes. The objective is to
More informationIntroduction to Visualization on Stampede
Introduction to Visualization on Stampede Aaron Birkland Cornell CAC With contributions from TACC visualization training materials Parallel Computing on Stampede June 11, 2013 From data to Insight Data
More informationChapter 24. Creating Surfaces for Displaying and Reporting Data
Chapter 24. Creating Surfaces for Displaying and Reporting Data FLUENT allows you to select portions of the domain to be used for visualizing the flow field. The domain portions are called surfaces, and
More informationv Stratigraphy Modeling TIN Surfaces GMS 10.3 Tutorial Introduction to the TIN (Triangulated Irregular Network) surface object
v. 10.3 GMS 10.3 Tutorial Stratigraphy Modeling TIN Surfaces Introduction to the TIN (Triangulated Irregular Network) surface object Objectives Learn to create, read, alter, and manage TIN data from within
More informationPRISM Project for Integrated Earth System Modelling An Infrastructure Project for Climate Research in Europe funded by the European Commission
PRISM Project for Integrated Earth System Modelling An Infrastructure Project for Climate Research in Europe funded by the European Commission under Contract EVR1-CT2001-40012 The VTK_Mapper Application
More informationLecture overview. Visualisatie BMT. Fundamental algorithms. Visualization pipeline. Structural classification - 1. Structural classification - 2
Visualisatie BMT Fundamental algorithms Arjan Kok a.j.f.kok@tue.nl Lecture overview Classification of algorithms Scalar algorithms Vector algorithms Tensor algorithms Modeling algorithms 1 2 Visualization
More informationIntroduction to Visualization: ParaView. Dan Mazur, McGill HPC Aug 20, 2013
Introduction to Visualization: ParaView Dan Mazur, McGill HPC daniel.mazur@mcgill.ca Aug 20, 2013 1 Outline What is scientific visualization? ParaView and visualization pipelines data import 1D, 2D, 3D
More informationIntroduction to Scientific Visualization
Introduction to Scientific Visualization Aaron Birkland Cornell Center for Advanced Computing Data Analysis on Ranger January 2012 A lab-intensive workshop Start off with basic concepts Data, transformations,
More information3 AXIS STANDARD CAD. BobCAD-CAM Version 28 Training Workbook 3 Axis Standard CAD
3 AXIS STANDARD CAD This tutorial explains how to create the CAD model for the Mill 3 Axis Standard demonstration file. The design process includes using the Shape Library and other wireframe functions
More informationPyNGL & PyNIO Geoscience Visualization & Data IO Modules
PyNGL & PyNIO Geoscience Visualization & Data IO Modules SciPy 08 Dave Brown National Center for Atmospheric Research Boulder, CO Topics What are PyNGL and PyNIO? Quick summary of PyNGL graphics PyNIO
More informationBforartists Reference Manual - Copyright - This page is under Public Domain. Editors
Editors Introduction...2 Hidden menus...2 The Header menu...2 Flip to Top...2 Collapse Menus...2 Hide Editortype menu...3 Maximize Area - Tile Area...3 The editor type menu...3 Area Options...3 Split area...3
More informationSurface Modeling With TINs
GMS TUTORIALS The TIN module in GMS is used for general-purpose surface modeling. TIN is an acronym for Triangulated Irregular Network. TINs are formed by connecting a set of xyz points with edges to form
More informationFirst Steps - Conjugate Heat Transfer
COSMOSFloWorks 2004 Tutorial 2 First Steps - Conjugate Heat Transfer This First Steps - Conjugate Heat Transfer tutorial covers the basic steps to set up a flow analysis problem including conduction heat
More information3 Data Representation. Data Representation. Department of Computer Science and Engineering 3-1
Data Representation 3-1 Overview This chapter will introduce you to data representations used for Scientific Visualization. We will discuss different grid structures and ways to represent data using these
More informationPost-processing with Paraview. R. Ponzini, CINECA -SCAI
Post-processing with Paraview R. Ponzini, CINECA -SCAI Post-processing with Paraview: Overall Program Post-processing with Paraview I (ParaView GUI and Filters) Post-processing with Paraview II (ParaView
More informationGMS 10.0 Tutorial Stratigraphy Modeling TIN Surfaces Introduction to the TIN (Triangulated Irregular Network) surface object
v. 10.0 GMS 10.0 Tutorial Stratigraphy Modeling TIN Surfaces Introduction to the TIN (Triangulated Irregular Network) surface object Objectives Learn to create, read, alter, and manage TIN data from within
More informationScientific Python: matplotlib
Scientific Python: matplotlib 17 July 2014 Introduction and Aims This exercise introduces the matplotlib module of Python. Matplotlib is a versatile plotting library that can be used to produce both quick
More informationVisualization. Images are used to aid in understanding of data. Height Fields and Contours Scalar Fields Volume Rendering Vector Fields [chapter 26]
Visualization Images are used to aid in understanding of data Height Fields and Contours Scalar Fields Volume Rendering Vector Fields [chapter 26] Tumor SCI, Utah Scientific Visualization Visualize large
More informationA Quick Guide to Gnuplot. Andrea Mignone Physics Department, University of Torino AA
A Quick Guide to Gnuplot Andrea Mignone Physics Department, University of Torino AA 2017-2018 What is Gnuplot? Gnuplot is a free, command-driven, interactive, function and data plotting program, providing
More informationExercise Guide. Published: August MecSoft Corpotation
VisualCAD Exercise Guide Published: August 2018 MecSoft Corpotation Copyright 1998-2018 VisualCAD 2018 Exercise Guide by Mecsoft Corporation User Notes: Contents 2 Table of Contents About this Guide 4
More informationContents. Implementing the QR factorization The algebraic eigenvalue problem. Applied Linear Algebra in Geoscience Using MATLAB
Applied Linear Algebra in Geoscience Using MATLAB Contents Getting Started Creating Arrays Mathematical Operations with Arrays Using Script Files and Managing Data Two-Dimensional Plots Programming in
More informationParaView/VTK Visualization Pipeline
ParaView/VTK Visualization Pipeline December 2017 Jean M. Favre, CSCS Introduction - Objectives Describe the VTK pipeline and VTK Objects Tie together numpy arrays and VTK Objects Write full pipelines
More informationGMS 8.2 Tutorial Stratigraphy Modeling TIN Surfaces Introduction to the TIN (triangulated irregular network) surface object
v. 8.2 GMS 8.2 Tutorial Introduction to the TIN (triangulated irregular network) surface object Objectives Learn to create, read, alter and manage TIN data from within GMS. Prerequisite Tutorials None
More informationImport a CAD Model 2018
Import a CAD Model 2018 Import CAD Model In this tutorial you will import a CAD file, then add a 500 kw burner fire. Figure 1. Burner fire in this example This tutorial demonstrates how to: Import a CAD
More informationPlotting package evaluation
Plotting package evaluation Introduction We would like to evaluate several graphics packages for possible use in the GLAST Standard Analysis Environment. It is hoped that this testing will lead to a recommendation
More informationTRAINING SESSION Q2 2016
There are 8 main topics in this training session which focus on the Sketch tools in IRONCAD. Content Sketch... 2 3D Scene Background Settings... 3 Creating a new empty Sketch... 4 Foam with cut out for
More informationCurves and Surfaces. CS475 / 675, Fall Siddhartha Chaudhuri
Curves and Surfaces CS475 / 675, Fall 26 Siddhartha Chaudhuri Klein bottle: surface, no edges (Möbius strip: Inductiveload@Wikipedia) Möbius strip: surface, edge Curves and Surfaces Curve: D set Surface:
More informationMATH 2221A Mathematics Laboratory II
MATH A Mathematics Laboratory II Lab Assignment 4 Name: Student ID.: In this assignment, you are asked to run MATLAB demos to see MATLAB at work. The color version of this assignment can be found in your
More informationRevolve 3D geometry to display a 360-degree image.
Tutorial 24. Turbo Postprocessing Introduction This tutorial demonstrates the turbomachinery postprocessing capabilities of FLUENT. In this example, you will read the case and data files (without doing
More informationThermal Stress Analysis
Thermal Stress Analysis Determine the temperature-induced stresses in a disk brake rotor. Lesson: Thermal Stress Analysis of a Disk Brake Rotor In this exercise we'll perform a Thermal Stress analysis
More informationPASS Sample Size Software
Chapter 941 Introduction In PASS, it is easy to study power and sample size calculations for a range of possible parameter values. When at least 2 input parameters vary, you can create stunning 3D power
More informationShade tutorial: Shoes for Poser.
Shade tutorial: Shoes for Poser www.oscillator.se/3d Notes Welcome to the Shade tutorial: Shoes for Poser. This is my first tutorial for Shade. I was inspired by the friendly and generous people at Shader
More informationAssignment #4: Scalar Field Visualization 3D: Cutting Plane, Wireframe Iso-surfacing
Goals: Assignment #4: Scalar Field Visualization 3D: Cutting Plane, Wireframe Iso-surfacing Due Sept. 28, before midnight With the results from your assignments #2 and #3, the first goal of this assignment
More informationSubdivision Surfaces. Course Syllabus. Course Syllabus. Modeling. Equivalence of Representations. 3D Object Representations
Subdivision Surfaces Adam Finkelstein Princeton University COS 426, Spring 2003 Course Syllabus I. Image processing II. Rendering III. Modeling IV. Animation Image Processing (Rusty Coleman, CS426, Fall99)
More informationScientific data analysis and visualization at scale in VTK/ParaView with NumPy
Scientific data analysis and visualization at scale in VTK/ParaView with NumPy Utkarsh Ayachit, Berk Geveci Kitware, Inc. 28 Corporate Drive Clifton Park, NY 12065 Abstract The Visualization Toolkit (VTK)
More informationData Representation in Visualisation
Data Representation in Visualisation Visualisation Lecture 4 Taku Komura Institute for Perception, Action & Behaviour School of Informatics Taku Komura Data Representation 1 Data Representation We have
More informationautograd tutorial Paul Vicol, Slides Based on Ryan Adams January 30, 2017 CSC 321, University of Toronto
autograd tutorial Paul Vicol, Slides Based on Ryan Adams January 30, 2017 CSC 321, University of Toronto 1 tutorial outline 1. Automatic Differentiation 2. Introduction to Autograd 3. IPython Notebook
More informationGraphing Calculator Tutorial
Graphing Calculator Tutorial This tutorial is designed as an interactive activity. The best way to learn the calculator functions will be to work the examples on your own calculator as you read the tutorial.
More informationSpacecraft Plasma Interaction System Course and Practical Work Part 1: Introduction
11 th SPINE meeting, ESA/ESTEC, 04/2007 Spacecraft Plasma Interaction System Course and Practical Work Part 1: Introduction J.Forest (1), S.Jourdain (1), S. Bagnier (1), contact@artenum.com (1) Artenum,
More informationform are graphed in Cartesian coordinates, and are graphed in Cartesian coordinates.
Plot 3D Introduction Plot 3D graphs objects in three dimensions. It has five basic modes: 1. Cartesian mode, where surfaces defined by equations of the form are graphed in Cartesian coordinates, 2. cylindrical
More informationINTERNATIONAL EDITION. MATLAB for Engineers. Third Edition. Holly Moore
INTERNATIONAL EDITION MATLAB for Engineers Third Edition Holly Moore 5.4 Three-Dimensional Plotting Figure 5.8 Simple mesh created with a single two-dimensional matrix. 5 5 Element,5 5 The code mesh(z)
More informationScalar Field Visualization. Some slices used by Prof. Mike Bailey
Scalar Field Visualization Some slices used by Prof. Mike Bailey Scalar Fields The approximation of certain scalar function in space f(x,y,z). Most of time, they come in as some scalar values defined on
More informationUNIVERSITI TEKNIKAL MALAYSIA MELAKA FAKULTI KEJURUTERAAN ELEKTRONIK DAN KEJURUTERAAN KOMPUTER
UNIVERSITI TEKNIKAL MALAYSIA MELAKA FAKULTI KEJURUTERAAN ELEKTRONIK DAN KEJURUTERAAN KOMPUTER FAKULTI KEJURUTERAAN ELEKTRONIK DAN KEJURUTERAAN KOMPUTER BENC 2113 DENC ECADD 2532 ECADD LAB SESSION 6/7 LAB
More informationTABLE OF CONTENTS INTRODUCTION... 2 OPENING SCREEN BEGIN ANALYSIS... 4 Start a New File or Open a Previously Saved File... 4
3D-BLAST August 2010 TABLE OF CONTENTS INTRODUCTION... 2 OPENING SCREEN... 3 BEGIN ANALYSIS... 4 Start a New File or Open a Previously Saved File... 4 PROGRAM TOOLBAR... 5 NAVIGATING IN THE PROGRAM...
More informationMath 2130 Practice Problems Sec Name. Change the Cartesian integral to an equivalent polar integral, and then evaluate.
Math 10 Practice Problems Sec 1.-1. Name Change the Cartesian integral to an equivalent polar integral, and then evaluate. 1) 5 5 - x dy dx -5 0 A) 5 B) C) 15 D) 5 ) 0 0-8 - 6 - x (8 + ln 9) A) 1 1 + x
More informationAutodesk Maya 2019 BASICS GUIDE
Kelly L. Murdock Autodesk Maya 2019 BASICS GUIDE SDC P U B L I C AT I O N S Better Textbooks. Lower Prices. www.sdcpublications.com ACCESS CODE UNIQUE CODE INSIDE Powered by TCPDF (www.tcpdf.org) Visit
More informationv SMS 11.1 Tutorial SRH-2D Prerequisites None Time minutes Requirements Map Module Mesh Module Scatter Module Generic Model SRH-2D
v. 11.1 SMS 11.1 Tutorial SRH-2D Objectives This lesson will teach you how to prepare an unstructured mesh, run the SRH-2D numerical engine and view the results all within SMS. You will start by reading
More informationUser-Defined Function
ENGR 102-213 (Socolofsky) Week 11 Python scripts In the lecture this week, we are continuing to learn powerful things that can be done with userdefined functions. In several of the examples, we consider
More informationWhat is visualization? Why is it important?
What is visualization? Why is it important? What does visualization do? What is the difference between scientific data and information data Visualization Pipeline Visualization Pipeline Overview Data acquisition
More informationPC-MATLAB PRIMER. This is intended as a guided tour through PCMATLAB. Type as you go and watch what happens.
PC-MATLAB PRIMER This is intended as a guided tour through PCMATLAB. Type as you go and watch what happens. >> 2*3 ans = 6 PCMATLAB uses several lines for the answer, but I ve edited this to save space.
More informationTutorial: Accessing Maya tools
Tutorial: Accessing Maya tools This tutorial walks you through the steps needed to access the Maya Lumberyard Tools for exporting art assets from Maya to Lumberyard. At the end of the tutorial, you will
More informationScripting and Visualization
Scripting and Visualization Scripting Python basics IDL basics (GDL) Visualization (Peter Teuben) (Mark Vogelsberger) Python::Matplotlib, tvtk, mayavi (Matthew Turk) Vis5d, IDL widgets (Anatoly Spitkovsky)
More informationChapter 6.0. Chapter 6.0 Eddy Current Examples. 6.1 Asymmetrical Conductor with a Hole. Ansoft Maxwell 3D Field Simulator v11 User s Guide
Chapter 6.0 Chapter 6.0 Eddy Current Examples Asymmetrical Conductor with a Hole 6 The Asymmetrical Conductor with a Hole This example is intended to show you how to create and analyze an Asymmetrical
More informationStep 1: Create A New Photoshop Document
Snowflakes Photo Border In this Photoshop tutorial, we ll learn how to create a simple snowflakes photo border, which can be a fun finishing touch for photos of family and friends during the holidays,
More informationLECTURE 22. Numerical and Scientific Computing Part 2
LECTURE 22 Numerical and Scientific Computing Part 2 MATPLOTLIB We re going to continue our discussion of scientific computing with matplotlib. Matplotlib is an incredibly powerful (and beautiful!) 2-D
More informationSNOWFLAKES PHOTO BORDER - PHOTOSHOP CS6 / CC
Photo Effects: Snowflakes Photo Border (Photoshop CS6 / CC) SNOWFLAKES PHOTO BORDER - PHOTOSHOP CS6 / CC In this Photoshop tutorial, we ll learn how to create a simple and fun snowflakes photo border,
More informationContouring and Isosurfaces. Ronald Peikert SciVis Contouring 2-1
Contouring and Isosurfaces Ronald Peikert SciVis 2007 - Contouring 2-1 What are contours? Set of points where the scalar field s has a given value c: Examples in 2D: height contours on maps isobars on
More informationPython Crash Course Numpy, Scipy, Matplotlib
Python Crash Course Numpy, Scipy, Matplotlib That is what learning is. You suddenly understand something you ve understood all your life, but in a new way. Doris Lessing Steffen Brinkmann Max-Planck-Institut
More informationTutorial 2. Modeling Periodic Flow and Heat Transfer
Tutorial 2. Modeling Periodic Flow and Heat Transfer Introduction: Many industrial applications, such as steam generation in a boiler or air cooling in the coil of an air conditioner, can be modeled as
More informationv Overview SMS Tutorials Prerequisites Requirements Time Objectives
v. 12.2 SMS 12.2 Tutorial Overview Objectives This tutorial describes the major components of the SMS interface and gives a brief introduction to the different SMS modules. Ideally, this tutorial should
More information3D Studio Max Lesson 1.1: A Basic Overview of 3DSMax's Main Tool Bar
3D Studio Max Lesson 1.1: A Basic Overview of 3DSMax's Main Tool Bar Introduction In this tutorial, we'll just be taking a look at parts of the environment of 3D Studio Max version 4.26, and helping you
More informationDatenanalyse (PHY231) Herbstsemester 2017
Datenanalyse (PHY231) Herbstsemester 2017 A short pylab repetition 22/09/2017 An important part of the exercises for this course involves programming in python / pylab. We assume that you have completed
More informationExtrude. Taper. STEP 04: Ctrl +V _ select Copy from the clone window _ name the copy: Slabs Mesh _ click OK
Extrude STEP 01: open the class-08 3ds Max file _ select the ellipse _ command panel / modifier list _ select Extrude _ set the extrusion Amount: 400 _ STEP 02: with the perspective viewport current press
More informationDremel Digilab 3D Slicer Software
Dremel Digilab 3D Slicer Software Dremel Digilab 3D Slicer prepares your model for 3D printing. For novices, it makes it easy to get great results. For experts, there are over 200 settings to adjust to
More informationData Visualization. What is the goal? A generalized environment for manipulation and visualization of multidimensional data
Data Visualization NIH-NSF NSF BBSI: Simulation and Computer Visualization of Biological Systems at Multiple Scales June 2-4, 2 2004 Joel R. Stiles, MD, PhD What is the goal? A generalized environment
More informationPython Scripting for Computational Science
Hans Petter Langtangen Python Scripting for Computational Science Third Edition With 62 Figures 43 Springer Table of Contents 1 Introduction... 1 1.1 Scripting versus Traditional Programming... 1 1.1.1
More informationScalar Visualization
Scalar Visualization Visualizing scalar data Popular scalar visualization techniques Color mapping Contouring Height plots outline Recap of Chap 4: Visualization Pipeline 1. Data Importing 2. Data Filtering
More informationSaturn User Manual. Rubén Cárdenes. 29th January 2010 Image Processing Laboratory, University of Valladolid. Abstract
Saturn User Manual Rubén Cárdenes 29th January 2010 Image Processing Laboratory, University of Valladolid Abstract Saturn is a software package for DTI processing and visualization, provided with a graphic
More informationContours & Implicit Modelling 4
Brief Recap Contouring & Implicit Modelling Contouring Implicit Functions Visualisation Lecture 8 lecture 6 Marching Cubes lecture 3 visualisation of a Quadric toby.breckon@ed.ac.uk Computer Vision Lab.
More informationBi 1x Spring 2014: Plotting and linear regression
Bi 1x Spring 2014: Plotting and linear regression In this tutorial, we will learn some basics of how to plot experimental data. We will also learn how to perform linear regressions to get parameter estimates.
More informationIntroduction to Functions of Several Variables
Introduction to Functions of Several Variables Philippe B. Laval KSU Today Philippe B. Laval (KSU) Functions of Several Variables Today 1 / 20 Introduction In this section, we extend the definition of
More informationtutorial i: Using matcont for numerical integration of ODEs
tutorial i: Using matcont for numerical integration of ODEs u.a. Kuznetsov Department of Mathematics Utrecht University Budapestlaan TA, Utrecht September, This session illustrates how to input a system
More informationContours & Implicit Modelling 1
Contouring & Implicit Modelling Visualisation Lecture 8 Institute for Perception, Action & Behaviour School of Informatics Contours & Implicit Modelling 1 Brief Recap Contouring Implicit Functions lecture
More informationObjectives This tutorial demonstrates how to use feature objects points, arcs and polygons to make grid independent conceptual models.
v. 9.0 GMS 9.0 Tutorial Use points, arcs and polygons to make grid independent conceptual models Objectives This tutorial demonstrates how to use feature objects points, arcs and polygons to make grid
More informationMATLAB Tutorial. Primary Author: Shoumik Chatterjee Secondary Author: Dr. Chuan Li
MATLAB Tutorial Primary Author: Shoumik Chatterjee Secondary Author: Dr. Chuan Li 1 Table of Contents Section 1: Accessing MATLAB using RamCloud server...3 Section 2: MATLAB GUI Basics. 6 Section 3: MATLAB
More informationFeature-based CAM software for mills, multi-tasking lathes and wire EDM. Getting Started
Feature-based CAM software for mills, multi-tasking lathes and wire EDM www.featurecam.com Getting Started FeatureCAM 2015 R3 Getting Started FeatureCAM Copyright 1995-2015 Delcam Ltd. All rights reserved.
More informationPlotting - Practice session
Plotting - Practice session Alessandro Fanfarillo - Salvatore Filippone fanfarillo@ing.uniroma2.it May 28th, 2013 (fanfarillo@ing.uniroma2.it) Plotting May 28th, 2013 1 / 14 Plot function The basic function
More informationMOVING FROM CELL TO CELL
VCAE: EXCEL Lesson 1 Please send comments to Author: Zahra Siddiqui at zed_ess@hotmail.com Concepts Covered: Cell Address; Cell Pointer; Moving across Cells Constants: Entering, Editing, Formatting Using
More informationChemSense Studio Client Version 3.0.7
Quick Start Guide: ChemSense Studio Client Version 3.0.7 January 5, 2005 Comments/Questions/Bug Report? E-mail: chemsense-contact@ctl.sri.com Background The ChemSense Studio Client software supports the
More informationSOLIDWORKS Flow Simulation Options
SOLIDWORKS Flow Simulation Options SOLIDWORKS Flow Simulation includes an options dialogue window that allows for defining default options to use for a new project. Some of the options included are unit
More informationGetting Started with ShowcaseChapter1:
Chapter 1 Getting Started with ShowcaseChapter1: In this chapter, you learn the purpose of Autodesk Showcase, about its interface, and how to import geometry and adjust imported geometry. Objectives After
More informationFrame Analysis Using Visual Analysis
Frame Analysis Using Visual Analysis 1. The software is available at the Open Access Labs (OAL) and the Virtual OAL at http://voal.tamu.edu in Programs under the Windows Start menu. The software can also
More informationScalar Data. Alark Joshi
Scalar Data Alark Joshi Announcements Pick two papers to present Email me your top 3/4 choices. FIFO allotment Contact your clients Blog summaries: http://cs.boisestate.edu/~alark/cs564/participants.html
More information