Skip to content

Commit

Permalink
unset ivar=0 if no_mask
Browse files Browse the repository at this point in the history
  • Loading branch information
julienguy committed Aug 16, 2024
1 parent 1cbedbf commit 6f543bb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/plot_frame
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ for filename in args.infile :
print("will show only {}".format(fibers))

if args.no_mask :
frame.ivar += 0.1*(frame.ivar==0)*(frame.mask>0)
frame.mask*=0

for i,fiber in enumerate(fibers) :
Expand Down

0 comments on commit 6f543bb

Please sign in to comment.