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.

Source Distribution

nanohubtools-0.2.3.tar.gz (733.8 kB view hashes)

Uploaded Source

Built Distribution

nanohubtools-0.2.3-py2.py3-none-any.whl (1.4 MB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page