Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Feature request: Add support for temperatures #13

@shimwell

Description

@shimwell

Thanks for making this package Paul

I've been trying to make use of endf.IncidentNeutron instead of openmc.IncidentNeutron for a plotting package I'm working on.

The first feature that appears to be different is the temperature attribute.

import openmc
openmc_neutron = openmc.data.IncidentNeutron.from_ace('neutron_file/Li/006/lib/endf/Li006-n.ace')
openmc_neutron.temperatures
>>>['293K']

import endf
endf_neutron = endf.IncidentNeutron.from_ace('neutron_file/Li/006/lib/endf/Li006-n.ace')
endf_neutron.temperatures
>>> AttributeError: module 'endf' has no attribute 'temperature'. Did you mean: 'temperature_str'?

Just wondering if adding temperature is on the roadmap

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions