Release 0.9.2

Discussion on the serpentTools python package

Moderator: drewejohnson

Post Reply
drewejohnson
Posts: 63
Joined: Thu Oct 20, 2016 4:25 pm
Security question 1: No
Security question 2: 84

Release 0.9.2

Post by drewejohnson » Thu Feb 20, 2020 10:24 pm

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

Post Reply