Commit Graph
155 Commits
Author SHA1 Message Date
markusro ee453c03a7 fix boolean parsing in ResultReader description
bool("False") is True, so stored False description values were read back
as True. Compare the written text against "True" instead.
2026-10-16 12:17:44 +02:00
markusro 1fb56e20f9 fix serialization of numpy scalars in job XML under numpy 2
numpy 2 changed repr(np.float64(1e-06)) to 'np.float64(1e-06)', so values
taken from lin_range() ended up unparsable in the job file: the result
script failed with "could not convert string to float". Description items
and state times are now converted to builtin types before writing.
2026-10-16 12:16:16 +02:00
markusro ef11824f8b Experiment.set_phase(): normalize negative phases to [0, 360)
The phase was passed to the backend job file verbatim, so negative
values (e.g. from rf_pulse(phase=-90)) reached the backend unchanged.
set_phase(), set_frequency() and thus rf_pulse() now write the phase
normalized with phase % 360. Add unittests for the normalization.
2026-10-16 11:31:37 +02:00
markusro 8d7d241ec7 fix Signalpath.phase(): do not modify original data in place
Build Debian Packages / build (bookworm, debian12) (push) Successful in 10m7s
Build Debian Packages / build (trixie, debian13) (push) Successful in 10m19s
phase() overwrote the underlying channel arrays (y[i] *= -1) and returned
self, so rotated copies aliased the original object and negative phase
angles garbled shared data. It now returns a copy with new arrays and
uses numpy.deg2rad for arbitrary angles.
Add unittests for phase() including negative angles and non-mutation.
2026-10-16 11:21:10 +02:00
markusro e963c2ef3c fix #43 Signalpath does not return object when phase=0
Build Debian Packages / build (trixie, debian13) (push) Successful in 10m25s
Build Debian Packages / build (bookworm, debian12) (push) Successful in 10m26s
2026-10-15 17:00:31 +02:00
markusro bafbc1b1a0 nodte for developers
Build Debian Packages / build (bookworm, debian12) (push) Successful in 9m58s
Build Debian Packages / build (trixie, debian13) (push) Successful in 10m30s
2026-10-02 11:33:02 +02:00
markusro cb5752d20c Add user plugin directory to Python path 2026-10-02 11:31:42 +02:00
markusro 227ddda684 merge upstream
Build Debian Packages / build (bookworm, debian12) (push) Failing after 7s
Build Debian Packages / build (trixie, debian13) (push) Canceled after 7s
Merge branch 'main' of gitea.pkm.physik.tu-darmstadt.de:IPKM/python3-damaris
2026-10-02 11:27:38 +02:00
markusro 6d598e9da9 added LICENSE 2026-10-02 11:26:23 +02:00
markusro d8d7b9853a Added AGENTS.md
Build Debian Packages / build (bookworm, debian12) (push) Failing after 7s
Build Debian Packages / build (trixie, debian13) (push) Canceled after 8s
2026-10-01 21:54:29 +02:00
markusro ddb3f00abb fixed inconsistencies in returned objects: missing channels, is_clipped
Build Debian Packages / build (bookworm, debian12) (push) Failing after 8s
Build Debian Packages / build (trixie, debian13) (push) Canceled after 8s
2026-10-01 21:10:49 +02:00
markusro 8bd088d97f merge
Merge branch 'main' of gitea.pkm.physik.tu-darmstadt.de:IPKM/python3-damaris
2026-07-14 23:08:12 +02:00
markusro f06af28827 make estimation nicer 2026-07-14 23:07:49 +02:00
markusro b6ca2cbba3 add more documentation: API doc 2026-07-14 20:47:06 +02:00
markusro acd3352967 added profiling examplef or synchronize()
Build Debian Packages / build (trixie, debian13) (push) Successful in 13m40s
Build Debian Packages / build (bookworm, debian12) (push) Successful in 13m51s
2026-07-13 23:58:12 +02:00
markusro 7d6b7855e3 added uv.lock and updated .gitignore
Build Debian Packages / build (trixie, debian13) (push) Successful in 17m39s
Build Debian Packages / build (bookworm, debian12) (push) Successful in 17m53s
2026-07-13 23:56:43 +02:00
markusro 442db8e287 added doc dependencies
Build Debian Packages / build (trixie, debian13) (push) Successful in 14m54s
Build Debian Packages / build (bookworm, debian12) (push) Successful in 14m55s
2026-07-13 23:54:26 +02:00
markusro 5ca54b7c39 added logging_helper for futuer C++ backends
Build Debian Packages / build (trixie, debian13) (push) Successful in 14m37s
Build Debian Packages / build (bookworm, debian12) (push) Successful in 14m36s
2026-07-13 23:52:00 +02:00
markusro 523c544750 added extensive doc string to main classes
Build Debian Packages / build (trixie, debian13) (push) Successful in 14m45s
Build Debian Packages / build (bookworm, debian12) (push) Successful in 14m55s
2026-07-13 23:42:12 +02:00
markusro f048e0dced cmdline interface fixed and properly added to deb package
Build Debian Packages / build (trixie, debian13) (push) Successful in 15m17s
Build Debian Packages / build (bookworm, debian12) (push) Successful in 15m4s
2026-07-13 23:33:04 +02:00
markusro 8f89778434 renamed some_istener to proper function: progressbar 2026-07-13 23:21:50 +02:00
markusro 9b9a0ec1df no the print in the experiment and result script are also printed 2026-07-13 23:19:10 +02:00
markusro 1bb92a9157 switch all prints to logging module 2026-07-13 22:59:54 +02:00
markusro 0eb44039f0 added proper logging facility 2026-07-13 22:47:54 +02:00
markusro fa064c1727 small performance improvemnt when using synchronize: polling reduced from 100ms to 50ms
Build Debian Packages / build (trixie, debian13) (push) Successful in 16m24s
Build Debian Packages / build (bookworm, debian12) (push) Successful in 16m38s
2026-07-13 22:21:49 +02:00
markusro 696cdfb556 LICENSE file added
Build Debian Packages / build (bookworm, debian12) (push) Successful in 14m48s
Build Debian Packages / build (trixie, debian13) (push) Successful in 14m50s
2026-07-13 17:02:25 +02:00
markusro 65649bb307 improved performance a lot, incremental writing of HDF5 2026-07-13 16:55:52 +02:00
markusro 6f7ca7ecaf preformance improvement: starting experiment after createing lots of data is now much faster 2026-07-13 13:56:03 +02:00
markusro b04a4274e0 Merge performance
Merge branch 'main' of gitea.pkm.physik.tu-darmstadt.de:IPKM/python3-damaris
2026-07-13 13:12:51 +02:00
markusro 02409488b8 Merge
Merge branch 'main' of gitea.pkm.physik.tu-darmstadt.de:IPKM/python3-damaris
2026-07-13 13:03:39 +02:00
markusro 34bbd68894 miniscule changes 2026-07-13 13:03:35 +02:00
markusro ebc2daf170 preformance improvment when using many data_pool objects
Build Debian Packages / build (trixie, debian13) (push) Successful in 13m42s
Build Debian Packages / build (bookworm, debian12) (push) Successful in 13m56s
2026-07-12 22:52:39 +02:00
markusro a75917efd5 preformance improvment when using many data_pool objects 2026-07-12 22:40:32 +02:00
markusro 3d847588c4 debug timing added for performance test 2026-07-12 21:07:41 +02:00
markusro a1323a7a5d debug timing added for performance test 2026-07-12 21:04:48 +02:00
markusro 1c3527b945 merged pyporject.toml
Build Debian Packages / build (trixie, debian13) (push) Successful in 13m44s
Build Debian Packages / build (bookworm, debian12) (push) Successful in 13m59s
2026-07-12 20:18:44 +02:00
markusro 75863ffc19 fixed lakeshore to keep using the simple ASCII commands
Build Debian Packages / build (trixie, debian13) (pull_request) Successful in 14m22s
Build Debian Packages / build (bookworm, debian12) (pull_request) Successful in 14m24s
Build Debian Packages / build (bullseye, debian11) (pull_request) Has been cancelled
2026-07-12 20:15:50 +02:00
markusro 6f0b090d9d added lakeshore to temperature logging facility 2026-07-12 20:09:07 +02:00
markusro d9f2cc3f2c added lakeshore temperature controller 2026-07-12 20:00:39 +02:00
markusro 43cfaf633e clean up code a bit
Build Debian Packages / build (trixie, debian13) (push) Successful in 14m14s
Build Debian Packages / build (bookworm, debian12) (push) Successful in 14m33s
2026-07-12 19:58:49 +02:00
markusro 5ac56446b3 bumped min python to 3.11
Build Debian Packages / build (bookworm, debian12) (push) Successful in 13m58s
Build Debian Packages / build (trixie, debian13) (push) Successful in 14m0s
2026-07-12 19:24:44 +02:00
markusro 7dc3f6560e fix ctrl+s missing in config pane 2026-07-12 19:13:00 +02:00
markusro e4cdea3b07 renamed and fully integrated lowpass filter 2026-07-12 18:32:40 +02:00
markusro eaf23abec6 added digital filter to ADC_Result 2026-07-12 18:16:03 +02:00
markusro 6efcc7ce0c added missign file for DurationEstimator
Build Debian Packages / build (trixie, debian13) (push) Successful in 13m36s
Build Debian Packages / build (bookworm, debian12) (push) Successful in 13m40s
2026-07-12 13:16:09 +02:00
markusro 97f811d904 Merge pull request 'Temperature logger' (#39) from temperature-logger into main
Build Debian Packages / build (trixie, debian13) (push) Successful in 13m19s
Build Debian Packages / build (bookworm, debian12) (push) Successful in 13m26s
Reviewed-on: #39
2026-07-12 11:15:18 +00:00
markusro e9e3f5a5f5 write Temperature data to hdf
Build Debian Packages / build (bookworm, debian12) (pull_request) Successful in 14m12s
Build Debian Packages / build (trixie, debian13) (pull_request) Successful in 14m18s
Build Debian Packages / build (bullseye, debian11) (pull_request) Has been cancelled
2026-07-12 13:14:05 +02:00
markusro 9441b5a4d9 added ignore 2026-07-12 13:00:14 +02:00
markusro bf2706ec80 created environemtn similar to bookworm versions of used python libraries
Build Debian Packages / build (trixie, debian13) (push) Successful in 13m17s
Build Debian Packages / build (bookworm, debian12) (push) Successful in 13m22s
2026-07-12 12:58:38 +02:00
markusro baaf6b90b6 Fix #37: Press button to get experiment duration
Build Debian Packages / build (trixie, debian13) (push) Successful in 13m16s
Build Debian Packages / build (bookworm, debian12) (push) Successful in 13m21s
2026-07-12 12:21:35 +02:00