Page 1 of 1

Release 0.9.2

Posted: Thu Feb 20, 2020 10:24 pm
by drewejohnson
serpentTools 0.9.2 has been released. Users can install from the python package repository with

Code: Select all

pip install serpentTools==0.9.2
or upgrade an existing version

Code: Select all

pip install --upgrade serpentTools==0.9.2
This version is compatible with previous versions. The main changes are
  • Fully support Python 3.8 (mainly impacted installing from pip)
  • Thresholding for hexagonal mesh plots
  • Detector improvements and bug fixes
Using the new thresholds, it's possible to generate the following figure with just a few lines of code

Code: Select all

import serpentTools
det = serpentTools.read("hex_det0.m")
powers = det["power"]
powers.hexType = 2
powers.pitch = 1.905
powers.hexPlot(thresh=0)
Image