Skip to main content

A set of tools to run nanoHubtools

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for nanohubtools, version 0.2.3
Filename, size File type Python version Upload date Hashes
Filename, size nanohubtools-0.2.3-py2.py3-none-any.whl (1.4 MB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size nanohubtools-0.2.3.tar.gz (733.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page