Giter Site home page Giter Site logo

nsls-ii / docs Goto Github PK

View Code? Open in Web Editor NEW
2.0 17.0 14.0 1.22 MB

Standards Documentation for NSLS-II DAQ and Analysis

Home Page: https://nsls-ii.github.io

License: BSD 2-Clause "Simplified" License

Makefile 16.21% CSS 0.26% HTML 0.33% Python 83.20%

docs's Introduction

multi-project docs

Documentation for NSLS-II DAQ and Analysis

Developer Documentation

This repo and others build the sphinx on Travis-CI and force-push the build products to the repo NSLS-II/NSLS-II.github.io.

If you haven't done this before:

gem install travis
travis login

Then:

ssh-keygen -t rsa -C "bluesky-docs-deploy"
travis encrypt-file bluesky-docs-deploy --repo NSLS-II/bluesky
git add bluesky-docs-deploy.enc

Copy the openssl ... line output from the travis... command above and use it in the .travis.yml.

Add the public key, bluesky-docs-deploy.pub, as a "Deploy Key" in the settings of the NSLS-II.github.io repository.

docs's People

Contributors

awalter-bnl avatar cj-wright avatar cowanml avatar danielballan avatar dmgav avatar ericdill avatar klauer avatar mrakitin avatar stuartcampbell avatar stuwilkins avatar tacaswell avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

docs's Issues

should add 4 package level hierarchy to docs

4 levels of device definition / instantiation

  1. opyhd :: cross facility package, class definition only
  2. nslsii_tools :: nsls-ii specific classes and plans. Factory
    functions to make standard objects (ring
    current, etc)
  3. BEAMLINETOOLS :: beamline specific classes, plans, factory
    functions, maybe direct instatiation of devices
  4. beamline plofile :: maybe class definition (should move up),
    device connection / instatiation

I suggest a new section: NSLS-II packaging practices (or hierarchy)
@tacaswell ?

Update links in sidebar

I suggest adding caproto (requested by Dan Flath, who looked for it there and was surprised not to find it) and removing amostra and datamuxer at least for now, as presently dormant and poorly documented. Objections?

/DATA, /POOL, broker dns aliases

Was doing some fs work on 5id and had this doc pointed out to me.
https://github.com/NSLS-II/docs/blob/master/deploying/metadatastore.rst

  • There is not yet a consistent standard (we're working on it) for filesystem naming :( /DATA and /POOL are not ubiquitous.
  • We don't have any write-once filesystems; there's no need for data and analysis to be on different filesystems.
  • The "broker" dns alias just adds complexity. It's much easier to edit/manage/debug the conf files for mds and fs than to make dns changes

Use tagged versions of tomopy and dxchange for the tomopy reconstruction example

A new version of tomopy can be installed with pip install .. See #97 which uses this new approach and installs tomopy from the master branch. Once the new version of tomopy is tagged/released (most likely https://github.com/tomopy/tomopy/releases/tag/1.2.2), we should use the tagged version and install it with:

pip install git+https://github.com/tomopy/[email protected]

Currently, we install the dxchange package from the master branch of their repo:

git+https://github.com/data-exchange/dxchange

Once the installer of dxchange is updated (see my issue data-exchange/dxchange#81), we will be able to install it with:

pip install git+https://github.com/data-exchange/[email protected]

Restructure this repo as NSLS-II specific

The general bluesky project content will move to bluesky.github.io (aliased as blueskyproject.io). This repository will focus on local deployment documentation and resources.

connect between different parts of the documentation

Navigating amongst the different components could be easier if there were cross-references between components.

For example: bluesky should point to (at least) NSLS-II Software Documentation

This would be most accessible somewhere in the left sidebar.

Rather than decide which things to put in the sidebar, put the same block of all components in the sidebar of every component. This will help document and unify the entire suite of software.

suggest IP for host?

One issue. For adding a jupyter kernel, I had to change from using the hostname string to a specific IP address. I'm not sure where along the chain the issue is.

However, this could be an issue that others encounter. I'd suggest adding to these docs
https://nsls-ii.github.io/conda.html#access-custom-user-environments-in-nsls-ii-s-jupyterhub

something like:
tip : if you are having kernel connection problems, try replacing the hostname with an actual ip address. You may find your ip address by typing ip addr on the host machine.

@danielballan do you agree? i will PR if yes. This issue is also meant to flag this general problem

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.