SiPM-Morpho Software Reference

Examples

Introduction

Examples

We include data acquisition examples in different categories, using the Python API, using the Morpho Data Server and using either real hardware or a device simulator.

Using the MDS

Connect the SiPM-Morpho to a USB port on your computer and start the MDS, for instance with the run_servers.cmd or by launching sipm_morpho/mds_v3/sipm_morpho_server.py. Then look in sipm_morpho/examples/using_mds/ for an example of interest.

If you want to use the device simulator instead, start the server sipm_morpho/sim_v3/sipm_morpho_server.py, or use run_sim_servers.cmd. All the examples in the sipm_morpho/examples/using_mds/ folder will run with the simulator as well as with any SiPM-Morpho device.

However, you cannot run the data acquisition server and the simulation server at the same time, since both listen at the same IP-address.

Using the API

Connect the SiPM-Morpho to a USB port on your computer. Then look in sipm_morpho/sipm_morpho_examples/using_api/ for an example of interest.

There are no api examples for use with the simulator.