A set of tools to run nanoHubtools


Keywords
Jupyter, Widgets, IPython
License
BSD-3-Clause
Install
pip install nanohubtools==0.2.3

Documentation

Nanohubtools

A set of tools/apps to run on nanohub

Installation

pip install nanohubtools

Usage

import nanohubtools as nt
auth_data = {
  'client_id': XXXXXXXX,
  'client_secret': XXXXXXXX,
  'grant_type': 'password',
  'username': XXXXXXXX,
  'password': XXXXXXXX
}

# to get username and password, register on nanohub.org (https://nanohub.org/register/)
# to get client id and secret, create a web application (https://nanohub.org/developer/api/applications/new), use "https://127.0.0.1" as Redirect URL

tool = nt.Qdotexplorer(auth_data, parameters={'Number of States'}, modal=True, mode='split-right')

# modal defines if the container outputs to use FloatView or standard ipywidgets Output
# mode defines the positions of new windows of Floatview is enabled

tool.loadExperiment('IDSESSION') If an experiment was created befores

Available Nanohub Tools

BravaisViewerSimplified, supported by Crystal Viewer Tool

    nt.CrystalViewerConstructor(auth_data, modal=False)

CrystalViewerSimplified, supported by Crystal Viewer Tool

    nt.CrystalViewerConstructor(auth_data, modal=False)

CrystalLab, supported by Crystal Viewer Tool

    nt.CrystalLab(auth_data)

CrystalLab

CrystalViewerMaterial, supported by Crystal Viewer Tool

    nt.CrystalViewerMaterial(auth_data, modal=False)

CrystalViewerMaterial

CrystalViewerBravais, supported by Crystal Viewer Tool

    nt.CrystalViewerBravais(auth_data, modal=False)

CrystalViewerBravais

CrystalViewerConstructor, supported by Crystal Viewer Tool

    nt.CrystalViewerConstructor(auth_data, modal=False)

SimpleQuantumDot, supported by Quantum Dot Lab

    nt.SimpleQuantumDot(auth_data, modal=False)

SimpleQuantumDot

StackedQuantumDot, supported by Quantum Dot Lab

    nt.StackedQuantumDot(auth_data, modal=False)

PNToy, supported by [PN Junction Lab] (https://nanohub.org/resources/pntoy)

    nt.PNToy(auth_data, modal=False)

PNToy

Driftdiffusionlab, supported by [Drift-Diffusion Lab] (https://nanohub.org/resources/semi)

    nt.Driftdiffusionlab(auth_data, modal=False)

Driftdiffusionlab

DFTExplorer, supported by [DFT calculations with Quantum ESPRESSO] (https://nanohub.org/resources/dftqe)

    nt.DFTExplorer(auth_data, modal=False)

DFTExplorer