-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5a1cadf
commit 355b1f7
Showing
4 changed files
with
32 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
from unittest import TestCase | ||
|
||
from qupulse.pulses import * | ||
from qupulse.program.decadac import * | ||
|
||
|
||
class DecaDacProgramBuilderTests(TestCase): | ||
def test_single_channel_ramp(self): | ||
hold = ConstantPT(10**6, {'a': '-1. + idx * 0.01'}) | ||
ramp = hold.with_iteration('idx', 200) | ||
|
||
program_builder = DecaDACASCIIBuilder.from_channel_dict({'a': 0}) | ||
program = ramp.create_program(program_builder=program_builder) | ||
|
||
raise NotImplementedError('the rest of the owl') |