Commits

Ajay Vibhute authored 0f232520c34 Merge
Pull request #1425: PIPE-2455: removed unit displayed in residual plot

Merge in PIPE/pipeline from PIPE-2455-remove-the-jy-unit-from-the-y-axis-in-the-hifv_fluxboot-residual-plot to main * commit '52b9bcc31aa4b9cfb847c7a2b042bf030421989c': PIPE-2455: removed unit displayed in residual plot

pipeline/hifv/tasks/fluxscale/fluxbootdisplay.py

Modified
353 353
354 354 ax2.set_xlim(np.log10(np.array([minxlim, maxxlim])))
355 355 ax2.set_xticks(locs)
356 356 ax2.set_xticklabels(labels)
357 357 ax2.tick_params(bottom=False, top=True, left=False, right=False)
358 358 ax2.tick_params(labelbottom=False, labeltop=True, labelleft=False, labelright=False)
359 359
360 360 chartBox = ax1.get_position()
361 361 ax1.set_position([chartBox.x0, chartBox.y0, chartBox.width * 0.6, chartBox.height])
362 362 ax1.legend(loc='upper center', bbox_to_anchor=(1.45, 0.8), shadow=True, ncol=1)
363 - ax1.set_ylabel('Residuals ((data - fit) / data) [Jy]', size=mysize)
363 + ax1.set_ylabel('Residuals ((data - fit) / data)', size=mysize)
364 364 ax1.set_xlabel('log10 Frequency [Hz]', size=mysize)
365 365 ax2.set_xlabel('Frequency [GHz]', size=mysize)
366 366
367 367 plt.savefig(figfile)
368 368 plt.close()
369 369
370 370 def get_figfile(self):
371 371 return os.path.join(self.context.report_dir,
372 372 'stage%s' % self.result.stage_number,
373 373 'residuals-%s-summary.png' % self.ms.basename)

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut