Comments (4)
Wiki or README?
This certainly needs updating on the README, the example scripts in the 'examples' subdirectory should have already been updated.
from pypact.
Just on the Wiki, I've not tried the example files.
It's in the following section:
from pypact.
Plotting
An example script and some helper functions are included to show how some plots can be constructed using pypact. A nuclide library (in JSON format) exists containing the list of all isotopes, that is containing 118 elements from H to Og, and totaling to 3352 isotopes. These can be used in their entirety as a complete list using 'getallisotopes()' or can be filtered as the example below shows. Some plotting functions are added in the 'pypact.analysis' module and are also used in the script below.
This example script is based on that in the package at 'pypact/examples/plotnuclideheat.py'. Note that this is an example only and is to show how pypact can be used to help perform certain analyses.
import re
import os
import pypact as pp
import pypact.analysis as ppa
filename = os.path.join(os.path.dirname(os.path.abspath(file)),
'..', 'reference', 'test127.out')
tz = ppa.TimeZone.COOL
properties = ['heat', 'grams', 'ingestion']
isotopes = [ ppa.NuclideDataEntry(i) for i in ppa.getallisotopes() if ppa.findZ(i[0]) <= 10]
from pypact.
Stale issue message
from pypact.
Related Issues (20)
- Apply missing doc strings HOT 1
- Add ability to read DPA HOT 1
- Allow reading of printlib files - printlib5
- Bug: cannot read gamma spectra from new fispact output HOT 1
- Bug: Cannot read total mass
- input runner not working correctly
- Need printlib4 reader
- FNS Fission spectra HOT 2
- Question about test91 example HOT 3
- Digit of fuel entries HOT 1
- Length of printed floating points exceeds FISPACT input file limits. HOT 3
- Add python 3.9 to CI HOT 1
- fluxesfile.py: Writing fluxes files using setValue method doesn't set correct groups when small rounding errors present HOT 4
- Add convenience properties to Nuclide HOT 5
- install fails on v1.3.5 from pypi HOT 1
- meta stable isotopes mixed in with ppa plot HOT 6
- 'LinePlotAdapter' object has not attribute 'custom' HOT 3
- Check python 3.10+ support
- Reading values missing "E" character for exponentials HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pypact.