Coder Social home page Coder Social logo

pylinac's People

Contributors

alanphys avatar anmcgrath avatar bastula avatar ckswilliams avatar crcrewso avatar ethanio12345 avatar gdrosos avatar gitter-badger avatar jmadamesila avatar jmartens avatar jrkerns avatar keithoffer avatar luisolivaresj avatar mchamberland avatar midamo avatar quantifiedcode-bot avatar randlet avatar stephenterry avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pylinac's Issues

Add ability to load baseline to BeamImage for relative comparison (TG142-style)

TG-142 states that beam profiles (flatness & symmetry) should be analyzed against a baseline. Currently, the flatsym module only computes objective values. It would be advantageous to be able to load in a baseline image, e.g. taken at the time of commissioning/annual/repair, and the relative profile analyzed to see if it exceeds the 1%/2% relative change.

Starshot: Results are stochastic

Given that the minimum diameter is found using an evolutionary algorithm it is understandable that results can vary. Unfortunately, results can vary widely, creating an unnecessarily wide range of results. A more predictable minimization function should be used.

Add *.txt info to MachineLog if available

Trajectory log creation also (most of the time it seems) makes a *.txt file, which carries a few pieces of additional information like patient ID, plan name, and beam energy. If the txt file is in the same directory it should be incorporated into the MachineLog data

Winston Lutz: BB occasionally mislabeled

The Winston Lutz analysis looks for the BB using a few conditions. Unfortunately, it would not discriminate between very small looking ROIs (noise) and the BB. A minimum size criteria should be added.

Reading trajectory log's txt files with a blank line causes crash

There were sporadic problems with reading in the txt file before, but I think I've got a handle on it now. When a blank line is encountered (sometimes but not always the case) splitting the item in two crashes the process.

This can be fixed by checking the length of the line.

Warn Python 2.x users

pylinac is installable in python 2, but will fail as it has certain py3-only components. pylinac should issue a warning if trying to use pylinac on py2, before an error raises that is not immediately apparent what's going on.

Log analyzer: number of beam holds may be faulty

The log analyzer currently looks for changes in the beam hold state by taking the diff of the beam hold state array and looking for differences of 1 (e.g. 0 -> 1, 1 -> 2). This does not catch trajectory log holds that go from 0 -> 2. Bug report here; thanks to Anthony for catching it.

CBCT roll adjusted the wrong way

The CBCT module would account for roll of the phantom, but this is being applied the wrong way for the spatial resolution slice and HU linearity nodes.

Leeds analysis failing

Several conditions are nullifying Leeds analysis. This is largely due to the uneven background of various images. kV imagers are performing very differently, as well as the various exposure protocols allowed.

Non-local filters and histogram equalization would help; unfortunately these are in the skimage libary and has not been incorporated into pylinac...yet.

Starshots can fail if image has a pin prick

Oftentimes a physicists will add a mark or pin prick to the image to know the orientation of the image. These usually cause extreme values, and can cause analysis to fail because the image inversion goes the wrong way.

Add matplotlib directives to docs

ReadTheDocs currently does not have matplotlib for the Python 3 build interpreter, and a pip install fails, thus, the matplotlib directive can't be used. When RTD gets matplotlib for py3, then the directives can be used. Until then, pictures will have to suffice.

Allow multiple images to be superimposed

Sometimes a physicist wants to combined multiple images to form one single image. E.g. a collimator star shot can be formed by taking single EPID images of one specific collimator angle. These single angle images can be superimposed to form a full collimator star shot. Other examples exist.

CBCT fails when ring artifact present

When a full ring artifact is present in a CBCT acquisition, the algorithm thinks the ring is the phantom edge, causing all radius-based calculations to fail.

Add wheels

Pylinac is currently an egg; support wheel as well.

PicketFence does not detect pickets for small patterns

Pickets are derived from a median profile along each image axis, but if the picket fence pattern itself is smaller than half the image (e.g. a large SSD) then the median will be zero and not detect the pickets. Behavior should take the maximum instead.

CBCT demo files occasionally trip

During testing when the CBCT demo files are quickly being unpacked/deleted, sometimes the test runner gets tripped up by the OS being too slow and can't load the demo files because an empty folder is left from the unpacked demo files.

Add batch processing for MachineLog

MachineLog currently only handles one file at a time. It should be trivial to add batch processing (e.g. a directory), at least for reading in. Batch processing of, say, fluence should be allowable, perhaps through a method.

Account for partially-covered leaves in log analyzer

As of now, the behavior is to calculate the leaf fluence as one pixel, which does not allow for partially-covered leaves. This may (slightly) affect the gamma score. One solution is to calculate the fluence more realistically in the y-direction. The pixels would simply be mapped to the realistic leaf width.

Convert "Open File" dialog from PyQt4 to tkinter

Currently, pylinac uses PyQt4 for it's GUI (which is fine), but if a user only wants the API-level interface, it still uses PyQt4, almost exclusively for File Dialogs. This should be converted to something simpler and without a dependency, namely tkinter.

pylinac installation issues

Hi,

I tried to install pylinac using pip on winpython as well as trying python setup.py install but I get the error message no pylinac module found. I have all your dependencies with the latest versions. I have python 2.7.6.

Starshot: wobble diameter isn't correct

Wobble diameter for the starshot is not correct, giving a wobble slightly smaller than what it should be. The point-to-line distance algorithm should be fixed.

Add pylinac to binstar

conda is the pip for scientific python package management, and binstar seems to be the pypi of conda. Given that pylinac depends on scientific packages, it may be better in some cases to install pylinac via conda.

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.