marvin icon indicating copy to clipboard operation
marvin copied to clipboard

Enhanced map plot results in bad pixel scaling

Open prajwel opened this issue 2 years ago • 5 comments

Hi,

Thank you for maintaining this excellent software. I would like to report the following problem.

The enhanced map plot results in bad pixel scaling.

To reproduce the problem, please run the following script

import marvin

target = "8485-1901"
maps = marvin.tools.Maps(target)
ha = maps.emline_gflux_ha_6564
hb = maps.emline_gflux_hb_4862
ha_hb = ha / hb
log_ha_hb = np.log10(ha_hb)

# Good scaling
ha_hb.plot()

Figure 1

# Bad scaling
log_ha_hb.plot()

Figure 2

Expected behaviour: the pixel colour scaling should be comparable to that produced by ha_hb.plot().

Could you please let me know if there is a way to correct this?

prajwel avatar Apr 07 '22 05:04 prajwel