Skip to content

Commit 6caa6a9

Browse files
authored
Merge pull request #422 from linien-org/release/v2.1.0
Release v2.1.0
2 parents 1527649 + fe4386a commit 6caa6a9

File tree

103 files changed

+963
-859
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

103 files changed

+963
-859
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/psf/black
3-
rev: 24.4.2
3+
rev: 24.8.0
44
hooks:
55
- id: black
66
exclude: ^(gateware/logic/|gateware/lowlevel/|gateware/linien_module.py|linien-server/linien_server/csrmap.py)
@@ -12,7 +12,7 @@ repos:
1212
name: isort (python)
1313

1414
- repo: https://github.com/pycqa/flake8
15-
rev: 7.0.0
15+
rev: 7.1.1
1616
hooks:
1717
- id: flake8
1818
exclude: linien-server/linien_server/csrmap.py

CHANGELOG.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,21 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [2.1.0]
9+
10+
### Added
11+
* Show differences when local and remote parameters do not match by @bleykauf in https://github.com/linien-org/linien/pull/400
12+
* Show voltage on the x-axis when sweeping by @bleykauf in https://github.com/linien-org/linien/pull/404
13+
14+
### Changed
15+
* Switched to Tableau color scheme and make colors consistent, i.e. signals have the same color while sweeping and when locked. By @bleykauf in https://github.com/linien-org/linien/pull/419.
16+
* Increase upper version constraint for `importlib-metadata` by @doronbehar in https://github.com/linien-org/linien/pull/416
17+
18+
### Fixed
19+
20+
* Fixed example code in the readme by @bleykauf in https://github.com/linien-org/linien/pull/420, thanks to @Andrew-wi for reporting this issue
21+
* Fixed a bug preventing the selection of a PSD algorithm via the GUI by @bleykauf in https://github.com/linien-org/linien/pull/421, thanks to @martinssonh for reporting this issue
22+
823
## [2.0.4] - 2024-05-30
924

1025
### Fixed
@@ -18,7 +33,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1833
### Added
1934
* Handle corrupted json files by @bleykauf in https://github.com/linien-org/linien/pull/399
2035

21-
2236
## [2.0.2] - 2024-05-14
2337

2438
### Fixed
@@ -230,6 +244,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
230244

231245
* **Bug fixes and performance improvements**
232246

247+
[2.1.0]: https://github.com/linien-org/linien/compare/v2.0.4...v2.1.0
233248
[2.0.4]: https://github.com/linien-org/linien/compare/v2.0.3...v2.0.4
234249
[2.0.3]: https://github.com/linien-org/linien/compare/v2.0.2...v2.0.3
235250
[2.0.2]: https://github.com/linien-org/linien/compare/v2.0.1...v2.0.2

README.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,10 @@ from linien_client.deploy import install_remote_server
8989

9090
device = Device(
9191
host="rp-xxxxxx.local",
92-
user="root",
92+
username="root",
9393
password="root"
9494
)
95-
instalL_remote_server(device)
95+
install_remote_server(device)
9696
```
9797

9898
Finally, you can install the server manually, by connecting to the RedPitaya via SSH and
@@ -240,7 +240,7 @@ from linien_common.common import MHz, Vpp, ANALOG_OUT_V
240240

241241
dev = Device(
242242
host="rp-xxxxxx.local",
243-
user="root",
243+
username="root",
244244
password="root"
245245
)
246246
c = LinienClient(dev)
@@ -259,7 +259,7 @@ c.parameters.modulation_amplitude.value = 1 * Vpp
259259
c.connection.root.write_registers()
260260

261261
# additionally set ANALOG_OUT_1 to 1.2 volts DC (you can use this to control other devices of your experiment)
262-
c.parameters.analog_out_1.value = 1.2 * ANALOG_OUT_V
262+
c.parameters.analog_out_1.value = 1.2 / ANALOG_OUT_V
263263

264264
# GPIO outputs can also be set
265265
# each bit corresponds to a pin
@@ -335,7 +335,7 @@ from time import sleep
335335

336336
c = LinienClient(
337337
host="rp-xxxxxx.local",
338-
user="root",
338+
username="root",
339339
password="root"
340340
)
341341
c.connect(autostart_server=True, use_parameter_cache=True)
@@ -496,7 +496,9 @@ Linien ‒ User-friendly locking of lasers using RedPitaya (STEMlab 125-14) that
496496
Copyright © 2014-2015 Robert Jördens\
497497
Copyright © 2018-2022 Benjamin Wiegand\
498498
Copyright © 2021-2024 Bastian Leykauf\
499-
Copyright © 2022 Christian Freier
499+
Copyright © 2022 Christian Freier\
500+
Copyright © 2023-2024 Doron Behar\
501+
500502

501503
Linien is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
502504

gateware/bit2bin.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
# Copyright 2014-2015 Robert Jördens <[email protected]>
2-
#
31
# This file is part of Linien and based on redpid.
42
#
3+
# Copyright (C) 2016-2024 Linien Authors (https://github.com/linien-org/linien#license)
4+
#
55
# Linien is free software: you can redistribute it and/or modify
66
# it under the terms of the GNU General Public License as published by
77
# the Free Software Foundation, either version 3 of the License, or

gateware/fpga_image_helper.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
# Copyright 2014-2015 Robert Jördens <[email protected]>
2-
# Copyright 2018-2022 Benjamin Wiegand <[email protected]>
3-
#
41
# This file is part of Linien and based on redpid.
52
#
3+
# Copyright (C) 2016-2024 Linien Authors (https://github.com/linien-org/linien#license)
4+
#
65
# Linien is free software: you can redistribute it and/or modify
76
# it under the terms of the GNU General Public License as published by
87
# the Free Software Foundation, either version 3 of the License, or

gateware/hw_platform.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
# Copyright 2014-2015 Robert Jördens <[email protected]>
2-
# Copyright 2018-2022 Benjamin Wiegand <[email protected]>
3-
# Copyright 2021-2022 Bastian Leykauf <[email protected]>
4-
#
51
# This file is part of Linien and based on redpid.
62
#
3+
# Copyright (C) 2016-2024 Linien Authors (https://github.com/linien-org/linien#license)
4+
#
75
# Linien is free software: you can redistribute it and/or modify
86
# it under the terms of the GNU General Public License as published by
97
# the Free Software Foundation, either version 3 of the License, or

gateware/linien_module.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
1-
# Copyright 2014-2015 Robert Jördens <[email protected]>
2-
# Copyright 2018-2022 Benjamin Wiegand <[email protected]>
3-
# Copyright 2021-2023 Bastian Leykauf <[email protected]>
4-
# Copyright 2022 Christian Freier <[email protected]>
5-
#
61
# This file is part of Linien and based on redpid.
72
#
3+
# Copyright (C) 2016-2024 Linien Authors (https://github.com/linien-org/linien#license)
4+
#
85
# Linien is free software: you can redistribute it and/or modify
96
# it under the terms of the GNU General Public License as published by
107
# the Free Software Foundation, either version 3 of the License, or

gateware/logic/autolock.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
# Copyright 2018-2022 Benjamin Wiegand <[email protected]>
2-
# Copyright 2021-2022 Bastian Leykauf <[email protected]>
3-
#
41
# This file is part of Linien and based on redpid.
52
#
3+
# Copyright (C) 2016-2024 Linien Authors (https://github.com/linien-org/linien#license)
4+
#
65
# Linien is free software: you can redistribute it and/or modify
76
# it under the terms of the GNU General Public License as published by
87
# the Free Software Foundation, either version 3 of the License, or

gateware/logic/autolock_utils.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
# Copyright 2018-2022 Benjamin Wiegand <[email protected]>
2-
# Copyright 2021-2022 Bastian Leykauf <[email protected]>
3-
#
41
# This file is part of Linien and based on redpid.
52
#
3+
# Copyright (C) 2016-2024 Linien Authors (https://github.com/linien-org/linien#license)
4+
#
65
# Linien is free software: you can redistribute it and/or modify
76
# it under the terms of the GNU General Public License as published by
87
# the Free Software Foundation, either version 3 of the License, or

gateware/logic/chains.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
# Copyright 2014-2015 Robert Jördens <[email protected]>
2-
# Copyright 2018-2022 Benjamin Wiegand <[email protected]>
3-
# Copyright 2021-2022 Bastian Leykauf <[email protected]>
4-
#
51
# This file is part of Linien and based on redpid.
62
#
3+
# Copyright (C) 2016-2024 Linien Authors (https://github.com/linien-org/linien#license)
4+
#
75
# Linien is free software: you can redistribute it and/or modify
86
# it under the terms of the GNU General Public License as published by
97
# the Free Software Foundation, either version 3 of the License, or

0 commit comments

Comments
 (0)