Skip to main content

Exposure time calculation tools for JANUS instrument

Project description

Install

This repository is based purely on notebooks and creates the installation package following below described development procedure.

pip install janusexp

How to use this repo without code development

  • example notebooks can be stored in notebooks, they then will be added to the automatically generated documentation.
    • I will soon add an example example notebook, so that you can see the best layout for it. :)

How to develop

One time installation procedure for the required tools

  1. change to environment you are developing in (conda/venv/whatever)
  2. pip install nbdev
  3. cd janus-nbexposure
  4. nbdev_install_hooks # to enable automatic cleaning of notebooks at commit for this repo
  5. nbdev_install_quarto to install the quarto documentation tools (or install it yourself, see https://quarto.org/docs/get-started/index.html )
    1. This requires sudo, you can either trust it, I checked it, or install the quarto tools yourself from above link, e.g. via a tarball that doesn’t require sudo).
  6. pip install -e . # to install the source codes into your current Python env in ‘editable mode’

Regular develop procedure

  1. Make changes in notebooks in the notebooks folder only, following the rules of nbdev
    • Things we want to offer as an API for the tool users should go to notebooks/api folder.
  2. nbdev_prepare # to export notebooks into python library, and clean notebooks
  3. If any new files were added: git add *
  4. git commit -m "commit message"
  5. git push

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

janusexp-0.1.0.tar.gz (1.8 MB view details)

Uploaded Source

Built Distribution

janusexp-0.1.0-py3-none-any.whl (1.8 MB view details)

Uploaded Python 3

File details

Details for the file janusexp-0.1.0.tar.gz.

File metadata

  • Download URL: janusexp-0.1.0.tar.gz
  • Upload date:
  • Size: 1.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for janusexp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7143feb64aa929bace6f34336915bda5c0b20432589dedc71d9797121d0f3f1a
MD5 7c638fd20089a6eb94e36922f98a148f
BLAKE2b-256 e010b3c752589b5da54065d96e3646adfb37a3484f0eb63f3d5713e80df8de0f

See more details on using hashes here.

File details

Details for the file janusexp-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: janusexp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 1.8 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for janusexp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8e86bf2c5470c9c976f407ef5c6b96a4721057b01b250199a5a97aef80138ff2
MD5 4bab7e1b6bc6d906d67bd84b960585f8
BLAKE2b-256 48833c82915a2347146123d7965405e741255348ce612a926e00accc905b3728

See more details on using hashes here.

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