Skip to content

Commit

Permalink
Merge pull request #26 from KshitijT/master
Browse files Browse the repository at this point in the history
Fixing issue 25
  • Loading branch information
SpheMakh authored Mar 10, 2017
2 parents 9a230e7 + aa9ea17 commit b331889
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Owlcat/Gainplots.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def make_gain_plots (filename, prefix=None, gain_label="G",
valid = (gg!=0)&(gg!=1); # mask trivial or unfilled solutions
amp = abs(gg)
ampwh = numpy.ma.masked_array(amp,mask=~valid);
amid = ampwh.mean(1);
amid = ampwh.mean(1, dtype='float64');
xvalid = ~amid.mask;
if gain_plot_style == 'fill':
pylab.fill_between(x[:,0],ampwh.min(1),ampwh.max(1),where=xvalid,color='grey')
Expand Down

0 comments on commit b331889

Please sign in to comment.