Subject | Hash | Author | Date (UTC) |
---|---|---|---|
misc: add get_isodistances() function | ee82e4a69e51c6fa6a19e1715f71173907f9c4af | I am | 2022-04-13 06:16:05 |
testcases.testcases_2D: add natafm_plane_2D case | 65f6f76b97f340123083369a9f705673e9e6eb30 | I am | 2022-04-12 21:38:36 |
qt_gui.qt_dicebox: add Razitko box tab, simplify setup widget | e502adfa6458c63f18b81410c0a923aeee610641 | I am | 2022-04-11 05:41:07 |
dicebox: backport assess_candidates() to Chrt | 62628b5b5f0f2da1f37c504175e4b7678ff94e8e | I am | 2022-04-11 05:39:40 |
dicebox.Goal: add chee and chee2 potentials | 1b7e1af9932a9761652b57f2445daa7612f8f09e | I am | 2022-04-11 00:34:30 |
ghull.Ghull: fix NaN in get_r() method | 654d4d32ebf8d14f88bc78dbee27567e9aa9564e | I am | 2022-04-10 16:06:24 |
estimation: nahradit zastaralou hlavičku | 00b7aa07abc3072261da2cc7ba775d5228eefdf7 | I am | 2022-04-04 03:34:36 |
testcases.testcases_2D: add more nataf ceses | ff4873afb1722500e3faed3c7a7f2552496b6e08 | I am | 2022-04-02 18:48:42 |
dicebox.Goal._handle_candidates: trigger cache update | 80d401d5c4aaab0894d92e6df5390aff12738880 | I am | 2022-03-30 22:11:24 |
mplot.mfigs: add G_U_distortion plot | 6ed034375dfd042706a91a368c9483270095e75c | I am | 2022-03-20 14:42:50 |
mplot.mart: add number_points function | dab89bdb9e5190600aa394c9b65cfa24d162be0e | I am | 2022-03-20 14:42:23 |
testcases:testcases_nD: add hyperplane_pf3 | 87176287101b0a15a86c7999ba9626674400d225 | I am | 2022-03-20 14:41:26 |
testcases:gaussian_2D: add pf estimation for sinshilds case | 889b5aebae164ea3fb1f9375ae58d1afa4687696 | I am | 2022-03-17 20:42:13 |
mplot: add rbf_density_plot() | 62ce990cb9418418879d0f5e084a26043b5bfdeb | I am | 2022-03-04 03:00:32 |
misc: little changes to the rbf class | 058a0401db09f4e9e68af72c987c3b879077864d | I am | 2022-03-03 22:53:48 |
mplot.maxes: rbf, one more try | 8303470585507772e8170504989835f04a7828b9 | I am | 2022-03-02 22:13:08 |
mplot.maxes: add rbf_plot | 3485da2191b2f64fac76813d072a6b6f6e2fba71 | I am | 2022-03-02 03:35:27 |
mplot.maxes: add rbf plot | bd5055adced9e0d8887fa213baa0ff9f9e038ba4 | I am | 2022-03-02 02:17:18 |
misc: add small class for rbf surrogate model | f8beecf63302ceae6d3462ed279b796b54149bdf | I am | 2022-03-02 02:16:01 |
testcases: pf_exact fix for suspension 3d case | 0f3318cac398c9195e0b21a6f13edc9475156b0d | I am | 2022-03-02 02:14:55 |
File | Lines added | Lines deleted |
---|---|---|
misc.py | 9 | 0 |
File misc.py changed (mode: 100644) (index 0c4303f..8aac057) | |||
... | ... | class RBF_surrogate: | |
32 | 32 | ||
33 | 33 | ||
34 | 34 | ||
35 | def get_isodistances(f_model, r, nrod=200): | ||
36 | phi = np.linspace(0, 6.283185307, nrod, endpoint=True) | ||
37 | cos_phi = np.cos(phi) | ||
38 | sin_phi = np.sin(phi) | ||
39 | |||
40 | sample_G = np.array((cos_phi, sin_phi)).T * r | ||
41 | return f_model.new_sample(sample_G, space='G', extend=True) | ||
42 | |||
43 | |||
35 | 44 | def isolevels_2d(pdf, weighting_pdf_const, r_levels, from_top=None): | def isolevels_2d(pdf, weighting_pdf_const, r_levels, from_top=None): |
36 | 45 | """ | """ |
37 | 46 | weighting_pdf_const = 1 / (xmax - xmin) / (ymax - ymin) | weighting_pdf_const = 1 / (xmax - xmin) / (ymax - ymin) |