More Rappture Objects

13
1 More Rappture Objects Michael McLennan Software Architect HUBzero™ Platform for Scientific Collaboration This work licensed under Creative Commons See license online: by-nc-sa/3.0

description

More Rappture Objects. Michael McLennan Software Architect HUBzero™ Platform for Scientific Collaboration. This work licensed under Creative Commons. See license online: by-nc-sa/3.0. . Group related elements. - PowerPoint PPT Presentation

Transcript of More Rappture Objects

  • More Rappture ObjectsMichael McLennan Software Architect HUBzero Platform for Scientific CollaborationThis work licensed underCreative CommonsSee license online:by-nc-sa/3.0

  • Minority carrier lifetimes

    For electrons 1e-6

    For holes 1e-6

    Group related elements

  • Models input elements for this tab

    Ambient

  • Enable/disable to remove clutter

    Recombination Model off

    Minority Carrier Lifetime for electrons input.boolean(recomb) 1e-6 Disable inputs when theyre not neededEnabled only whenRecombination Model is yes

  • Enable/disable to remove clutter

    Drift-Diffusion Options input.choice(model) == "dd

    Boltzmann Transport Equation Options input.choice(model) == "bte

    Disable a group to hide all of the controls within itShow this panel whenModel is set to dd (Drift-Diffusion)Show this panel whenModel is set to bte (Boltzmann Transport Eqn)

  • Enable/disable based on numbers

    Quantum Mechanical Options Tight-binding Energy eV 3.12eV High-energy lifetime input.group(negf).number(tbe):eV >= 3 ns 10ns

  • First Page First input one

    Second Page Second input two

    Multiple pages of inputs, needed only for complex tools

  • Focus on side of tool.xmlProduces the user interfaceautomatically!

    This is my tool.

    description of tool, including inputs and outputs

  • ****** ADEPT/F - 2.1 input file: adp20638 Sat Jul 30 19:39:36 2005 ******

    1 *title input generated by adeptwr 2 mesh nx=250 xres=0.5 3 misc tempk=300

    Standard output from simulatorTreated as unimportant(low level) output, andtherefore listed last

  • import Rapptureimport sysdriver = 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 simulatorincluding binary files

    Trajectory Data Data in pdb format REMARK GENERATED BY TRJCONVTITLE Carbon NT in water t= 0.00000

  • import Rapptureimport sysdriver = 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 = """0 01 23 4 """driver.put(path+.component.xy, data)X-Y plots

  • Tour the zooZoo of Examples Complete catalog of data objects online See screen shots Copy xml code

  • Exercise #4: More controls for Spirograph1) Create two groups of controls:2) When comments are enabled, create a output with comments