Skip to content

Commit 9756ef3

Browse files
bhawkinsbhawkins
authored andcommitted
Fix chirp normalization. (#885)
Co-authored-by: bhawkins <[email protected]>
1 parent 7d0d2be commit 9756ef3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/packages/nisar/workflows/focus.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def get_chirp(cfg: Struct, raw: Raw, frequency: str, tx: str):
9696
window = get_window(cfg.processing.range_window, msg="Range window: ")
9797
chirp *= window(len(chirp))
9898
log.info("Normalizing chirp to unit white noise gain.")
99-
return chirp / np.linalg.norm(chirp)**2
99+
return chirp / np.linalg.norm(chirp)
100100

101101

102102
def parse_rangecomp_mode(mode: str):

0 commit comments

Comments
 (0)