1. Running PG simulator

    GATE as PG simulator

    This article describes steps used in generating prompt gammas (PG) in proton radiotherapy for tests of Compton cameras using this software.

    Work was mostly performed by Kristijan Kuhar (kristijan.kuhar@gmail.com).

    It derives heavily from vpgtle code desribed here. In essence, the PG track simulation …

    read more
  2. Certificate management

    Importing certificates

    The received certificates must be imported to web browsers. Below, screenshots for Firefox are shown, but procedure is similar for other browsers as well.

    Storing certificates

    First, store the certificates to a safe place on your disk.

    Loading certificates to browser

    Start your browser, go to preferences. Usually …

    read more
  3. Match Visits in Labkey

    Matching non-matching visits in Labkey

    Introduction

    Motivation

    In Labkey, variables can only be displayed in a datasets when their visitID match. Since that is hard to achieve in retrospective studies, a more flexible manner of visit matching is required. This infrastructure provides means to match variables from non-matching visits using …

    read more
  4. SQL

    Useful sql commands

    Start a new database instance:

    pg_ctl init -d TEST 
    pg_ctl -D TEST -o "-p 5433" start
    

    Connect to the new database instance

    psql -p 5433
    

    Check username and current database:

    select current_user;
    select current_database();
    

    Create and connect to a database:

    create database test;
    \c test;
    

    Create the …

    read more
  5. Labkey Linux/Mac Install

    Installation on Linux and Mac

    Only manual install is available, sorted by components.

    Postgresql

    Download sources and unpackage them to /usr/share. This should create /usr/share/pgsql directory which we will rename to postgres:

    $>sudo mv /usr/share/pgsql /usr/share/postgres
    

    Now, create a user postgres with home …

    read more
  6. Labkey tutorial

    Installation

    Windows (english version)

    Grab the software and run the exe. It should install MySQL, Java, Tomcat and Labkey binaries. Original Labkey advice here. Skip the registration steps etc. The configuration is described here.

    Windows (non-english)

    Manual install is required. Failed for some older PC configurations and operating systems (32-bit …

    read more
  7. JPEG

    Importing Lossless JPEG files

    Some files (most noteable MR files from Embrace study) use Lossless JPEG compresion. The exact transfer syntax is:

    JPEG Lossless, Non-hierarchical, 1st Order Prediction
    

    The import of such files on some systems (newer MITK, most UNIX implementations) fails. A stackoverflow discussion member claims that:

    Most toolkit …

    read more
  8. Installing

    Prerequisites

    Apache:

    debian@med0:~$ sudo /usr/sbin/apachectl -V
    AH00557: apache2: apr_sockaddr_info_get() failed for med0
    AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message
    Server version: Apache/2.4.25 (Debian)
    Server …
    read more
  9. Slicer/Labkey integration

    Slicer

    Slicer can be downloaded from the official site. The following was done using the stable release, that uses Python 2.7.X

    Labkey extension

    Labkey extension is available on gitlab. For using git, see tutorial at medfiz Owncloud site. I assume you downloaded labkeySlicerPythonAPI somewhere on your computer using …

    read more

« Page 2 / 6 »

links

social