Giter Club home page Giter Club logo

lmsimrecon's Introduction

PETSIRD template for use cases

The purpose of this repo is to provide a starting point for other software that uses PETSIRD.

Background

The Emission Tomography Standardization Initiative (ETSI) is working towards establishing a standard for PET Raw Data, called PETSIRD ("PET ETSI Raw Data").

The specification uses the yardl tool to define the model. yardl can be used to read the specification (in the model directory) and generate an PI for both C++ and API to read/write PETSIRD data.

Currently, a draft model is defined in https://github.com/ETSInitiative/PRDdefinition.

CAVEAT: the draft model generates code in the prd namespace. Nevertheless, we have used the name PETSIRD here in most places (except where needed).

How to use this template?

These instructions will use YourRepoName for the name of your new repository. Obviously replace it with something appropriate.

Create a new repository based on this template

Easiest is to start from GitHub:

  1. Navigate to the URL of this repo: https://github.com/ETSInitiative/PETSIRDUseCaseTemplate
  2. Click on the Use this template button and create your own repo
  3. Pull it to your own local machine and modify
    1. Search-and-replace all occurences of PETSIRDUseCaseTemplate with YourRepoName
    2. Update the README.md to remove references to this template and write something about what your repo is going to do
    3. Update the environment.ymlto include what you need. For instance, if you need ROOT, add something like - root=6.28.0
    4. Make some other basic changes and commit
      git commit -a -m "Updated template to YourRepoName"
      git push

Using your repo

  1. Open your repo in GitHub Codespaces or in a VS Code devcontainer. This codespace/container will contain all necessary tools, including yardl itself, as well as your repository.
  2. Use yardl to generate C++ and Python code for the model:
cd YourRepoName
cd PETSIRD/model
yardl generate
cd ../..
  1. Start working in either the cpp and/or python directories.

lmsimrecon's People

Contributors

lukepolson avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.