Commit Graph

590 Commits

Author SHA1 Message Date
Marek Nečada c80551974b small fix
Former-commit-id: 6c87c578e9a443dfd054d44e003402e27067d34e
2017-05-11 04:48:02 +03:00
Marek Nečada 4b614d8e0b Vectorization of python ...getSVD version
Former-commit-id: 47b491c768dd30c86055cbb36ab0f7748a8a5202
2017-05-11 04:38:46 +03:00
Marek Nečada a662c885d5 Fix verbose messages
Former-commit-id: 4c8d6e95e55854925fe3b7c4fd35e9875d7a49ac
2017-05-10 15:40:43 +03:00
Marek Nečada 7a4887101a Fix missing index arrays
Former-commit-id: 17499c3583715bf5365771c60c66ba58f175a67a
2017-05-10 13:44:36 +03:00
Marek Nečada d2653e6a6d New symz_indexarray function, fix hexlatice_zsym_getSVD
Former-commit-id: 2d42d93b8c7d2e7596127293c622197794fe7f20
2017-05-10 11:45:21 +03:00
Marek Nečada 3a1f7c95aa Move time tracking functions to separate file.
Former-commit-id: ccecc95fd70f36208fa01b3b4d2c7bdd1546ff92
2017-05-10 11:43:11 +03:00
Marek Nečada 535fb3c3d7 Some cython code cleanup
Former-commit-id: 187ae611bcd6112caf7b0a0b37223f0bc1836392
2017-05-08 22:17:19 +03:00
Marek Nečada 92b33d7993 Opravy
Former-commit-id: 9f8e7ed97e3701ca1b6dc3cbe36dc35ce45fff4a
2017-05-08 22:04:27 +03:00
Marek Nečada c1db33fcf6 hex lattice mode svd to separate function
Former-commit-id: dddd45e135bce176863e70a2256b9906575b9aa8
2017-05-08 21:38:18 +03:00
Marek Nečada f41caf6203 Fix of the previous
Former-commit-id: 74a68bb17f61a875c9f8c852820ac1252a5095cc
2017-05-08 20:20:57 +03:00
Marek Nečada d269624b68 Start legacy code cleanup
Former-commit-id: 6dd209d837466d33e1749114da672a2a08e09f0c
2017-05-08 20:13:34 +03:00
Marek Nečada 02e34d525b Function for directly getting hexlattice a,b coeffs without saving.
Former-commit-id: 0dc9768a7754d407dc733df57eff549ed4ccc53f
2017-05-04 04:18:38 +03:00
Marek Nečada 205c1316f3 Fix python header include etc
Former-commit-id: f14e9673df8781be76d86df81394aacee7f557db
2017-05-03 08:43:29 +03:00
Marek Nečada 0643ff4b3e Faster versions of hexpoint calculations (work in progress)
Former-commit-id: 44a7ed6419a966e2d71c258953d1d01dc0ed87ab
2017-05-03 08:23:27 +03:00
Marek Nečada 2149a9ca71 Axes bugfix
Former-commit-id: 8c58c30104d142779e698646a46ca950520307c0
2017-05-03 08:08:58 +03:00
Marek Nečada b6b701bd42 fix the C version
Former-commit-id: 470dfcd9336bed06916463770a8a144d67e0fd95
2017-05-03 06:02:01 +03:00
Marek Nečada 019304dcb4 Rewrite to C (still crashes)
Former-commit-id: 06dd608b73678c9974d144b6467c94c5d0a9f45b
2017-05-03 05:45:14 +03:00
Marek Nečada c599ee839e Few modifications, did not help...
Former-commit-id: 47121008c9846d8539d85b367763d950e037a1c9
2017-05-03 05:19:33 +03:00
Marek Nečada 40809ce90a The array version of the AB coeff calculation still has bugs.
rewriting to C


Former-commit-id: c6582a03a8b73b46156416eb0faa3f866e2638ce
2017-05-03 02:22:14 +03:00
Marek Nečada 2d88a1ef0d Whole translation matrix: it compiles; untested
Former-commit-id: 1465a1385a2f318148d7b3a21cbbf2c0391a13df
2017-05-02 00:18:01 +03:00
Marek Nečada e2a2100b57 lattices.py using now the c module
Former-commit-id: 52cecb23a8757726bcac796417ebade8242d687a
2017-04-27 13:12:52 +03:00
Marek Nečada 796c7d7289 qpms.trans_calculator.get_AB working
(translations.c needs cleanup, remove duplicate code)


Former-commit-id: e99463b00456030384bf85fd3f782f47d2a44f5b
2017-04-26 14:44:16 +03:00
Marek Nečada c41c0d80ff The calculator module now works in python
Former-commit-id: 928dc98f6960bd53317a861c2787e197dcb87c88
2017-04-26 14:12:29 +03:00
Marek Nečada 816771be8d Computing translation coefficients with precalculated multipliers now
working


Former-commit-id: 7a7b8fd403f1624661a198119080937193f4a8c7
2017-04-25 22:14:41 +03:00
Marek Nečada c44a69c182 Continue writing translation coeff calculator object, etc.
- Removed unnecessary continue in qpms_trans_single_B_Taylor (it
  was there before previously incorrect calculation of q_max),
- for the same reason, the functions no longer crash for
  certain indices, so the old tests now pass without artificial
  constraints on the indices.


Former-commit-id: 0047fe18596ea006e7a2defb192787572b2a7fc2
2017-04-20 16:25:28 +03:00
Marek Nečada 3509d4d6ac Bug fixes
Former-commit-id: b3b375cec2e2bb0379ab20b36e3c2fef7473f409
2017-04-20 10:31:02 +03:00
Marek Nečada da193c1450 something already works
Former-commit-id: 9b1cfe39ae1453d26db40ad36d649b820d091ee4
2017-04-19 17:43:24 +03:00
Marek Nečada 261b6686bd Fix qmax
Former-commit-id: 64b1e7690c2761168b05c3b87f978e4c9f478deb
2017-04-13 12:43:25 +03:00
Marek Nečada 22dd5ef874 C implementation of the B translation coefficient.
Former-commit-id: f7c8930de88c1d62ac99e29e9adda4ca78aa216e
2017-04-13 11:29:38 +03:00
Marek Nečada 5cf2c97e6b Fix some problems with nans (invalid arguments of Legendre polynomials), still having some problems with gaunt
Former-commit-id: e551b05175ee14cd39e489589262dd82a83923fa
2017-04-12 16:12:12 +03:00
Marek Nečada 34940fc7e9 Koefficient A a testy. Kompiluje, většinou funguje, někdy nan
Former-commit-id: 3303493088dc8edca027fb93d49d62166e71544e
2017-04-12 14:27:22 +03:00
Marek Nečada b8eff3eb77 Dudom
Former-commit-id: cf2eb302d096612df04c204ca0dcee71a0776672
2017-04-10 13:48:06 +03:00
Marek Nečada 90a9971eb0 Hlavička pro gaunt
Former-commit-id: 4405fe435235134338c2c0a53f754490725d501e
2017-04-10 04:03:10 +00:00
Marek Nečada e7b7003abd Now gaunt.c seems 100% compatible with original gevero's code.
Potential problems (would be present in gevero's code as well)
with input m=1, n=19, mu=-10, nu=42, because alphap1 is „old“ before
zAp4d2)


Former-commit-id: adad053fb0022511ff98f78a7094db4e8639b519
2017-04-04 04:02:04 +03:00
Marek Nečada d5bca9f10d gaunt.c se zkompiluje
Former-commit-id: cf9a8e0aef20947f0b9e66c5e7b40f822cfa2a93
2017-03-28 15:52:49 +03:00
Marek Nečada 70dcb594c2 pokračování
Former-commit-id: a91bbb883f6e9fdee34ac9568ec92070c4c095b7
2017-03-21 06:18:17 +00:00
Marek Nečada ae4065d30d Přepis na „nového“ geverova gaunta
Former-commit-id: 011e4c2c3a56e464dfa91f135c88dfe9048d3977
2017-03-20 04:56:23 +02:00
Marek Nečada ad74b553df legacy gaunt (gaunt_xu2 from py_gmm/vec_trans.f90) rewrite completed
Former-commit-id: fd0fdda1084b93dafde6e60f1fe6108a7e4baa1c
2017-03-20 01:58:53 +02:00
Marek Nečada a14ed7d972 pokračování přepisu gaunta
Former-commit-id: 1aa8892516c6f464314cfff68348c4bbb7a2947d
2017-03-19 13:05:33 +00:00
Marek Nečada e98a4656ca gaunt pokračování přepisu
Former-commit-id: aed3bfd9a4652e79e1619c22b873c82ea3ed17ea
2017-03-17 19:58:50 +02:00
Marek Nečada d93346070d rozepsány vektorové verse přesuvných okeffiientů
Former-commit-id: 271b875ff3b42a304563cbc8e69ab3ffbdec5b73
2017-03-17 05:19:57 +00:00
Marek Nečada ab4466ccdd initialize T-matrix to zeros when reading from file
Former-commit-id: a0ce0680a296a019cc254361261a3fceddeec668
2017-02-26 04:50:15 +02:00
Marek Nečada 042197f978 [hexpoint] some fixes
Former-commit-id: 2741873a8507d756e95752e41bb1793e9a261219
2017-02-09 07:08:20 +02:00
Marek Nečada 90c3efe8b0 Loading and unwrapping precalculated translation coefficients.
Former-commit-id: e15d3e655e613806676940de4516b65c54d3d80b
2017-02-08 12:16:10 +02:00
Marek Nečada c3e8dc23f1 Function to precalculate and save hex lattice translation coefficients.
Former-commit-id: e43dfa30224a4a7d79ee92b0c5ff1856d4f53da9
2017-02-06 09:39:43 +02:00
Marek Nečada d76a036c33 Final fix of hexpoints + some ipynb demo.
Former-commit-id: cf3c5256aef489e0ac813182593a23bce2d6c3d8
2017-02-05 22:38:58 +02:00
Marek Nečada af4eb887c4 hex/triangle lattice generator internal constants
Former-commit-id: 7c581b5e832ee91f0b1bde804233a635f4090975
2017-02-05 18:46:36 +02:00
Marek Nečada df90b7b440 Fixes of hex/triangle lattice generators
Former-commit-id: 85ed2f3c0447a8ddf9551d90df4d97cf87c3f76c
2017-02-05 18:39:32 +02:00
Marek Nečada e2e7512b9e Functions for generating hexagonal/triangular lattices
Former-commit-id: 5139893ade0c5bfa46c712af3913218158038e37
2017-02-05 17:20:21 +02:00
Marek Nečada 5b0bd8d099 small fixes
Former-commit-id: 90d007ae19ad42222c406564adc80b5394703b83
2017-01-11 11:27:50 +02:00
Marek Nečada fda639304a starting rewriting the gaunt coefficients from py_gmm to c
Former-commit-id: e7cb74b982fe05ef9b0555e3524ac38398e2f13f
2017-01-09 23:08:49 +02:00
Marek Nečada 1f995be463 Fixes
Former-commit-id: 332fdd586e784b734f245b0d149cc63d6a2a4d68
2016-12-22 09:14:58 +02:00
Marek Nečada 9e390e0d30 z sym lattices?
Former-commit-id: 3f2148ed9eaac6b4b79a97c5bafee164aeb19df4
2016-12-22 08:38:39 +02:00
Marek Nečada 478c93276f Obecný scatter, zahájena třída s mřížkou
Former-commit-id: a6479f00e8639a7656913da298844b176ba5d45a
2016-12-21 21:54:53 +02:00
Marek Nečada b642991bb1 lattices: Basic stuff fixed, measuring time
Former-commit-id: 7019be9053b601e266eeddafdd859f6339313df7
2016-12-21 14:28:55 +02:00
Marek Nečada c18e1209f4 dudom
Former-commit-id: 77250aa7b2ea2931e3cf1e3f401919cd19ba829d
2016-12-15 16:15:01 +02:00
Marek Nečada 82259b77f5 Fix constant TMatrix bug in constmultipole rectarray
Former-commit-id: b767b7178b2c0c7ed8c438f17470d86fda48bea4
2016-12-15 08:02:47 +02:00
Marek Nečada e6d7663660 Little progress in objective approach to the general scattering problem.
Former-commit-id: b5775d0d4deab4c41986b28762364932d1815299
2016-12-14 21:09:47 +02:00
Marek Nečada 8d2ec16167 begin draft of objective approach to the MS problem
Former-commit-id: 857d55fb5a29373dec0d12ba435ac92c7f05ccef
2016-12-13 12:22:18 +02:00
Marek Nečada c9631d217f Fixed decorators (not elegant but working)
Former-commit-id: 8f54570f4413fdbc7544a2b4fe3ea183290026e7
2016-12-06 18:20:23 +02:00
Marek Nečada 2b64a50244 [broken] Jit všude možně (rozbil jsem to)
Former-commit-id: c88f554cee3aed543c657a27982139b3ae1ad0ce
2016-12-06 17:25:32 +02:00
Marek Nečada 26cabb1e87 Set __version__ attribute from the setup.py file
Former-commit-id: a25cf505f32bbd5d223d3e9b73078f994bab2f0d
2016-12-05 00:00:32 +02:00
Marek Nečada 47daced370 Non-mandatory numba import and conditional @jit decorator.
Former-commit-id: 327ece069ac0aa7ccc3c2aedefc4255a935699e7
2016-12-04 22:27:03 +02:00
Marek Nečada febd164740 Fix last commit
Former-commit-id: 0fa8ce938f13fbae048cfc8a04a09781ff7631b8
2016-09-19 03:46:13 +03:00
Marek Nečada 72b0c96d49 Constant excitation coefficient problem
Former-commit-id: a20f0ea21796c5aa11a3084927a08e885085b610
2016-09-19 01:32:44 +03:00
Marek Nečada bd0e7e7257 ND matrix tensor multiplication
Former-commit-id: b24a08cb61ccac2464bfe9d904fa973cab7596b1
2016-08-09 15:40:36 +03:00
Marek Nečada 8fb938961f Correct flips for magnetic part. Some tests.
Former-commit-id: 998f4b8fa5b94447ae75220fbb43c0143d4083a5
2016-08-09 14:39:45 +03:00
Marek Nečada 4badc3f6cf Output also lMax into the progress info
Former-commit-id: 6ecb0132a5ef908b2c64ec4e1fbe1572136a169a
2016-07-26 08:04:24 +03:00
Marek Nečada 7ae729b1b1 Print lattice size to stderr along with the progress info, doc nmax
limit


Former-commit-id: 646f95f462565702ff15ca66df0294a0568a60f8
2016-07-26 07:42:13 +03:00
Marek Nečada 3171c07c3e Very incomplete documentation for the translation coefficients.
Former-commit-id: 7c707f71ac39364be7cb628c074cfb777ea61a92
2016-07-26 06:35:27 +03:00
Marek Nečada 8646b18492 Forgotten stderr flush.
Former-commit-id: 27e83e9aa9db4bbed4273b3dc5adffa910bcf066
2016-07-26 05:59:31 +03:00
Marek Nečada 30013ac7fa Plane wave test, docs.
Former-commit-id: 86bdabea5c1a424401d3b93ea98af16bd2e963be
2016-07-26 00:42:16 +03:00
Marek Nečada 28a805b638 Flush the stderr output immediately.
Former-commit-id: 240c09daf17f4707564e853164342940d372982e
2016-07-20 16:24:48 +03:00
Marek Nečada 1ceaad21bb Z-mirror and parity operators
Former-commit-id: 08df6f997b2c0925adb9956e8d36ef904c2243a7
2016-07-19 20:26:43 +03:00
Marek Nečada 6b2ce9d6eb fix format string
Former-commit-id: ca3b71eaf29d1205df47ee95bfccf4a8e34ac1a4
2016-07-18 16:33:31 +03:00
Marek Nečada ef7b2dc66c fix time watch
Former-commit-id: e5f873d940f487d69a097149578fe0f6a1f24159
2016-07-18 16:10:50 +03:00
Marek Nečada bf5d6e23a4 Print elapsed time option
Former-commit-id: 7bd324a79bf5df4f5bc5e0b4754afcc019b870a9
2016-07-18 15:58:55 +03:00
Marek Nečada b945a50740 fix missing import scipy
Former-commit-id: d86570647ac3ca07f144768571b18d15714e9769
2016-07-18 13:03:33 +03:00
Marek Nečada ab6c9fc267 Fix variable names in scatter_plane_wave_rectarray
Former-commit-id: 1766eab4d6fd6bd98ecba6a188a25c89a58e5561
2016-07-18 11:46:48 +03:00
Marek Nečada 550901a18a Add possibility to return also the exciting plane wave coefficients
Former-commit-id: cef1d05c8bc2e7822a6ee58119877ef43b958bd0
2016-07-18 11:11:13 +03:00
Marek Nečada 9c0e2b2f28 Scattering on finite rectangular lattice
Former-commit-id: cb5a9d855e8f1cd22390cf589669fc3621bf8936
2016-07-14 21:13:58 +03:00
Marek Nečada 232fd3146e Function for reading scuff-matrix output files
Former-commit-id: 08c8f4bfc3786d6cd6e011bbce324ab661971736
2016-07-12 03:40:57 +03:00
Marek Nečada 40162ffb01 Merge branch 'master' of ssh://necada.org/~/repo/qpms
Conflicts:
	setup.py

Former-commit-id: 7637555c4b919fd18c2c23b1d4768e51c039067d
2016-07-12 03:24:15 +03:00
Marek Nečada 67707f7572 Spherical harmonics transformations
Former-commit-id: bbbae4cbdd9756dfffb2ab2c81c208ef580ca463
2016-07-12 03:20:53 +03:00
Marek Nečada 3018a3999f Minor fixes
Former-commit-id: b421a45d8dbc3990ebebecbcea55be588c08c4af
2016-07-06 12:00:39 +03:00
Marek Nečada 5bfd515d4e ?
Former-commit-id: a8eb75c6d4337475ac3b4375bca5735d984c2557
2016-06-29 21:47:20 +03:00
Marek Nečada b927ddb791 pi, tau zerolim jednoduché výrazy v Taylorově normalisaci
Former-commit-id: db59f269beb52d1c25f8a5a923cb42c14791bfb5
2016-06-29 14:48:09 +03:00
Marek Nečada 338a671d16 TODO cross section
Former-commit-id: 1075e9c6f8c658d962faffc11e80c16a52898a48
2016-06-28 16:13:28 +03:00
Marek Nečada 1fdab37c59 Vykuchán ipynotebook
Former-commit-id: c01b3a29ed6dd51fd2bf1b6bcf5f8c8a3f5d5f99
2016-03-27 13:17:18 +03:00
Marek Nečada 256e03768e Balíčkování
Former-commit-id: 918a6ff89b7388354057a12aab68d6223db6c794
2016-03-27 12:56:54 +03:00