Skip to content

CombSweepConfig from_comb doesn't work with a single tone #22

@JennySmith888

Description

@JennySmith888

in from_comb here,

steps = np.linspace(0, tones[1] - tones[0], points, endpoint=False) / 1e6 steps_overlap = steps[:overlap] + (tones[1] - tones[0]) / 1e6 steps = np.concatenate((steps, steps_overlap))

Throws an index error when there's only a single tone. Should a hypothetical user use from_bandwidth instead? How should from_comb behave for a single tone?

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions