Skip to main content

ucndata

This repository defines the ucndata package and a few scripts which utilize this package to analyze UCN ROOT files.

The ucndata package contained within has been installed system-wide on daq04. You will therefore be able to import it from any directory.

Quick API Reference

These are the main workhorses of the ucndata project:

  • ucnbase - base class for the following:
  • ucnrun - workhorse object representing a single run
  • ucncycle - workhorse object representing a single cycle within a run
  • ucnperiod - workhorse object representing a single period within a cycle

But these can also be useful:

  • the chopper module - redefinition for working with chopper data
  • applylist - for working with sets of runs or cycles or periods. Does element-wise attribute access and operators
  • datetime - convert timestamps to datetime objects and back

rootloader API

rootloader is a custom package which facilitates the reading of ROOT files in a more pythonic way than is provided by generic PyROOT. In general it attempts to make the various ROOT objects (histograms, trees) look like pandas dataframes. When you are looking at the contents of ucnrun.tfile you are looking at the rootloader.tfile object. Here are the reference for some of the more commonly found rootloader objects:

Metadata

Release files for ucndata 5.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ucndata 5.0.5
File Size Uploaded Provenance Actions
ucndata-5.0.5.tar.gz 105.8 kB Without provenance Details for ucndata-5.0.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ucndata 5.0.5
File Interpreter ABI Platform Actions
ucndata-5.0.5-py3-none-any.whl Python 3 none any Details for ucndata-5.0.5-py3-none-any.whl

Total release size: 153.0 kB

Release files / ucndata-5.0.5.tar.gz

Download URL ucndata-5.0.5.tar.gz
Size 105.8 kB
Tags Source
SHA-256 checksum
How to use checksums
6086d57e9f9ba1d4ad7a34bed40a1a1c99f3695069ed0c8e3d570fc82da813bd
BLAKE2b-256 checksum
How to use checksums
6f8c3aa3aaadc63ef546aacf2f7cfa087cacb654851d34d7ca811cf21a90328f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / ucndata-5.0.5-py3-none-any.whl

Download URL ucndata-5.0.5-py3-none-any.whl
Size 47.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
042f7ab323de4320fe080721006ca2730b52d896c6726c0acb893e0724c6a4bb
BLAKE2b-256 checksum
How to use checksums
bd08175fc184212fa6e07f123506a0bd6df7d7a402286217e90cc2625d32c5b7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Security for ucndata 5.0.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page