Skip to content
forked from pcdshub/archapp

Python interface to archiver appliance that most closely matches the legacy xpppython api

License

Notifications You must be signed in to change notification settings

ZryletTC/archapp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to use archapp:

Create a conda environment that uses python 3. Make sure xarray is installed in the conda environment.

Go to archapp/lib and type ipython in the command line.

#Type: 
from archapp.interactive import EpicsArchive

#Now create an object ---> 
arch = EpicsArchive()

#To get data, use --> 
data = arch.get("pv_name", xarray=True)

#To get the data in a data frame format --> 
data.to_dataframe()

#To get values of the data frame, such as vals or stat, for example --> 
data.to_dataframe()['pv_name']['vals']

About

Python interface to archiver appliance that most closely matches the legacy xpppython api

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 98.5%
  • Shell 1.5%