Commit graph

68 commits

Author SHA1 Message Date
azim-givron
360ec24b41
Implement vector fitting to replace external vectfit package (#3493)
Co-authored-by: azim_givron <a.givron@naarea.fr>
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
Co-authored-by: GuySten <guyste@post.bgu.ac.il>
Co-authored-by: GuySten <62616591+GuySten@users.noreply.github.com>
2026-02-11 10:00:18 -06:00
Jonathan Shimwell
5d2b352025
f strings instead of .format for string editing (#2987) 2024-04-29 16:45:37 -05:00
Gavin Ridley
b53b601edc
Tiny updates from experience building on Mac (#2894)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2024-04-20 05:44:40 +00:00
Paul Romano
9fee6534b6
Prepare for NumPy 2.0 (#2845) 2024-03-26 12:00:06 -04:00
Jonathan Shimwell
ee7b95245a
Static errors continuation (#2557)
Co-authored-by: Christina Cai <chrsitinacai48933@gmail.com>
Co-authored-by: christinacai123 <63215816+christinacai123@users.noreply.github.com>
2023-06-16 22:34:02 -05:00
Paul Romano
cee1615157 Defer import of matplotlib in multipole.py 2023-04-24 07:01:36 -05:00
Gavin Ridley
368525f3db
multipole documentation typo fix 2023-01-22 10:07:18 -05:00
Paul Romano
ecfa94e0ff Rename gnd_name to gnds_name. Change GND to GNDS in comments 2022-12-23 00:06:50 -06:00
Paul Romano
e1c47437bb Avoid several Python warnings 2021-04-26 14:45:37 -05:00
Paul Romano
28b37011b0 Add release notes for 0.12.1 and a bunch of versionadded tags 2021-03-17 07:33:57 -05:00
Jingang Liang
5357bdabbb added log=True in multipole generation tests 2020-10-14 11:11:40 +08:00
Jingang Liang
30557b5c83 ignore divide by zero warnings and log accuracy 2020-10-14 10:03:13 +08:00
Jingang Liang
5249fe661d make search=True the defaut and vectfit_nuclide public 2020-10-13 16:45:16 +08:00
Jingang Liang
4024f07fe2 minor fixes 2020-10-13 14:10:44 +08:00
Jingang Liang
b842ae78ee improve based on Paul's comments 2020-10-12 21:16:54 +08:00
Jingang Liang
8cb0dca813 fix complex to float casting error 2020-10-10 09:37:43 +08:00
Jingang Liang
76e0c19ac6 rebase to resovle conflicts 2020-10-10 08:49:14 +08:00
Jingang Liang
2f9aaff767 address paul's review comments 2020-10-09 22:52:47 +08:00
Jingang Liang
ddfda7e6ed added unit test for wmp genetation from ENDF 2020-10-09 22:52:46 +08:00
Jingang Liang
ea15a3bf6f use try/excpet for redundant xs 2020-10-09 22:51:24 +08:00
Jingang Liang
7b7f98dcd1 remove trailing whitespace 2020-10-09 22:51:24 +08:00
Jingang Liang
52516663c6 vectfit package is not always required 2020-10-09 22:51:23 +08:00
Jingang Liang
fe0221445e make sure locating window is not out of bounds 2020-10-09 22:50:59 +08:00
Jingang Liang
361767ad2d correct window poles points after shrinking 2020-10-09 22:50:58 +08:00
Jingang Liang
51565b1e01 improved logging 2020-10-09 22:50:58 +08:00
Jingang Liang
29b983b219 fixed curvefit failings for the first windows 2020-10-09 22:50:58 +08:00
Jingang Liang
46531c1a65 improved comments 2020-10-09 22:50:58 +08:00
Jingang Liang
931bc405cf use finer energy piece decomposition for faster fitting 2020-10-09 22:50:58 +08:00
Jingang Liang
2b5f9c7062 tested worflow, it works 2020-10-09 22:50:58 +08:00
Jingang Liang
1bb0aab643 better logging control 2020-10-09 22:50:15 +08:00
Jingang Liang
cd41186a25 support windows optimization/searching 2020-10-09 22:50:15 +08:00
Jingang Liang
d6a6eb2aa8 add more property functions for WMP 2020-10-09 22:50:15 +08:00
Jingang Liang
2b6f8a3094 separate kwargs for subfuntions 2020-10-09 22:50:15 +08:00
Jingang Liang
9d66bac8f7 fix the wrong way to use evaluation 2020-10-09 22:50:14 +08:00
Jingang Liang
5e8c20a866 curvefit with sqrt(E) 2020-10-09 22:50:14 +08:00
jingang
378653d039 make the window spacing configurable 2020-10-09 22:50:14 +08:00
jingang
1a932ac55f implement windowing kernel 2020-10-09 22:50:14 +08:00
Jingang Liang
c8afc054b7 windowing 2020-10-09 22:50:14 +08:00
liangjg
64f9e1aacc separate vectfit and windowing 2020-10-09 22:50:14 +08:00
liangjg
91c97c8e95 works for generating poles and residues 2020-10-09 22:50:14 +08:00
liangjg
c511feb88c implemented VF scheme to get multipole parameters from point-wise data 2020-10-09 22:50:13 +08:00
Paul Romano
75f84c82f2 Changes in data/multipole.py from PullRequest Inc. review 2020-04-15 15:06:48 -05:00
Paul Romano
a54cb56325 Changes in data/photon.py from PullRequest Inc. review 2020-04-15 15:06:48 -05:00
Paul Romano
4943ae9307 Alphabetize import ordering (and use relative imports in a few places) 2020-04-06 15:16:09 -05:00
Paul Romano
e34a71b448 Remove unused imports across entire Python API 2020-03-31 18:11:31 -05:00
liangjg
ea71b9e377 replace all dataset.value with dataset[()] (or occasionally dataset[...]) 2019-03-27 11:45:48 -04:00
Paul Romano
05e66155a2 Support pathlib in openmc.data 2018-11-06 09:01:37 -06:00
liangjg
e2dc2cee43 update python api for wmp v1.1 2018-10-19 16:53:47 -04:00
liangjg
968cd22e29 fixed np.dtype warnings 2018-08-18 21:25:06 -04:00
liangjg
63032ba40a update mutipole tests 2018-08-17 14:22:25 -04:00