Skip to main content
Ctrl+K

APS Bluesky Training

  • Instrument
  • Examples
  • How-To Guides
  • Tutorials
  • Reference
    • Changes
  • Instrument
  • Examples
  • How-To Guides
  • Tutorials
  • Reference
  • Changes

Section Navigation

  • Install New Instrument
  • The instrument package for Bluesky Data Acquisition
  • Instrument Package Guide
  • Python __init__.py files
  • Activate the bluesky conda environment
  • Configure bluesky instrument
  • Setup your databroker catalog configuration
  • Create bluesky directory
  • Create a bluesky IPython profile
  • Create a File System Soft Link
  • Translate Previous SPEC Configuration
  • Setup catalog configuration for databroker
  • Start software version control
  • Test that Bluesky Works at APS
  • Test the new bluesky instrument
  • Test the New Bluesky Instrument
  • Instrument
  • Create a File System Soft Link

Create a File System Soft Link#

This optional step makes it easy for those who prefer to use a command-line interface to start an IPython console session with Bluesky.

Assuming that your account has this directory: ${HOME}/bin/, create the soft link with this command:

ln -s ${HOME}/bluesky/blueskyStarter.sh ${HOME}/bin/

Start a Bluesky Console Session#

With this soft link in the executable PATH, you can start an IPython console session for Bluesky from any directory with one simple command:

blueskyStarter.sh

The ${HOME}/bin directory#

The ${HOME}/bin/ directory (same as ~/bin/) is an optional addition to a Linux account. It is often used to save (or link to) executable software and starter scripts for various application software of interest to users of this account.

In linux, ~/ is Linux shorthand for the user account home directory.

If your account does not have this directory, create it with this command:

mkdir ~/bin
see:

https://www.baeldung.com/linux/home-bin-directory

see:

https://askubuntu.com/questions/402353/how-to-add-home-username-bin-to-path

File system links#

It is assumed that your account has this directory ~/bin/ and that this directory is on the executable path (as defined by the PATH environment variable).

Lots of information about file system links is available online.

see:

https://www.redhat.com/sysadmin/linking-linux-explained

previous

Create a bluesky IPython profile

next

Translate Previous SPEC Configuration

On this page
  • Start a Bluesky Console Session
  • The ${HOME}/bin directory
  • File system links

This Page

  • Show Source

© Copyright 2024, APS BCDA.

Created using Sphinx 8.1.3.

Built with the PyData Sphinx Theme 0.16.1.