[AstroPy] Help with APLpy

Steven Boada boada at physics.rutgers.edu
Thu Feb 2 15:52:50 EST 2017

I'd like to mention that I had some images where making an RGB image 
particularly difficult. I played with APLpy and the make_lupton_rgb 
function in astropy withvery poor results.

I ended up using STIFF to make some very good looking three color 
images. I would have much preferred to use python exclusively, but I 
just couldn't get something that I liked.

Check out STIFF, if you are still having trouble.



On 02/02/2017 12:47 PM, John K. Parejko wrote:
> Though it’s not APLpy, you could try astropy.visualization.make_lupton_rgb (just added in astropy v1.3):
> http://docs.astropy.org/en/stable/visualization/lupton_rgb.html
> If you increase the Q parameter, and play with stretch, you might get something that remains astrophysically consistent, while still showing your source of interest. Note that it requires the images be aligned, but you should be able to pass in the results from aplpy’s reprojection.
> John
>> On 2Feb 2017, at 05:09, Thomas Robitaille <thomas.robitaille at gmail.com> wrote:
>> Hi Chika,
>> The make_rgb_image function takes a number of arguments to control the brightness of each band:
>> http://aplpy.readthedocs.io/en/stable/api/aplpy.make_rgb_image.html#aplpy.make_rgb_image
>> e.g. vmin_r, vmax_r and so on.
>> Cheers,
>> Tom
>> On 1 February 2017 at 08:51, Chika Chukwuemeka <chikachukwuemeka at gmail.com> wrote:
>> Hello,
>> I successfully made a composite-band image of a WISE YSO source using the make-RGB command in APLpy. However, the source i needed to mark is barely visible. How do I change the relative intensities of the different bands in order to bring it out more clearly? I guess it's the blue band which needs turning up a little.
>> Reagards,
>> Chika
>> _______________________________________________
>> AstroPy mailing list
>> AstroPy at scipy.org
>> https://mail.scipy.org/mailman/listinfo/astropy
> _______________________________________________
> AstroPy mailing list
> AstroPy at scipy.org
> https://mail.scipy.org/mailman/listinfo/astropy


Steven Boada

Postdoctoral Researcher
Rutgers University
boada at physics.rutgers.edu

More information about the AstroPy mailing list