Skip to content

cosipy extension to analyze COSI's non-imaging data: BGO, BTO and Ge's single-site events

License

Notifications You must be signed in to change notification settings

cositools/cosipy.nonimaging

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cosipy.nonimaging

The cosipy library is COSI's high-level analysis software.

COSI is a single mission with multiple detectors:

  • The Germanium (Ge) detector, an imaging-capable Compton telescope
  • Non-imaging (count-based) detectors:
    • Bismuth Germanium Oxide (BGO): which serves as the Anti-Coincidence Shield (ACS)
    • Background and Transient Observer (BTO): a Student Collaboration experiment that will fly on the COSI satellite
    • The Ge detector in single-site event mode: data with no identified tracks, only individual hits.

The main cosipy library can only analyze Compton data from the Ge detector. This extension --a namespace package-- will allow (work in progress) to analyze data from the non-imaging detectors.

Installation

Clone or download this repo and run

pip install .

If you are a developer, it is recommended that you use the -e to make it "editable" --i.e. you will execute the code in your working direction, as opposed as the code as it was when you run pip install . for the last time.

This will install the main cosipy automatically for you. By default, it will fetch the latest released cosipy version. If you are a developer, it is recommended that install cosipy from source before installing cosipy.nonimaging. The cosipy library is not yet stable, and this will allow you to better control your environment.

For the main cosipy installation and usage instructions please refer to the main cosipy documentation.

Usage

Since the main cosipy is a dependency of this submodule, you'll be able to import the main cosipy, However, just importing the main cosipy won't allow you to use cosipy.nonimaging. For example, the following won't work

import cosipy

print(cosipy.nonimaging.__version__) # This will fail

You need to import the non-imaging module explicitly:

import cosipy.nonimaging # Explicit module import

print(cosipy.nonimaging.__version__) # Now this works!

About

cosipy extension to analyze COSI's non-imaging data: BGO, BTO and Ge's single-site events

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages