Skip to content

Commit

Permalink
Reverted change in spectrogram_rss initialization in `calculate_gra…
Browse files Browse the repository at this point in the history
…dient_spectrum`
  • Loading branch information
FrankZijlstra committed Mar 27, 2024
1 parent e71d1f0 commit 38831e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pypulseq/Sequence/calc_grad_spectrum.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def calculate_gradient_spectrum(

# Calculate spectrogram for each gradient channel
spectrograms: List[np.ndarray] = []
spectrogram_rss = np.array(0)
spectrogram_rss = 0

for i in range(ng):
# Use scipy to calculate the spectrograms
Expand Down

0 comments on commit 38831e4

Please sign in to comment.