CARTAvis / carta

To CARTA users, this repo holds the CARTA release packages. Please use this repo to log bugs and feature requests. These will be triaged by the development team and prioritised as necessary in the development cycles.
19 stars 0 forks source link

Feature Request: Change matching in snippets #105

Open keflavich opened 2 years ago

keflavich commented 2 years ago

When running a series of appendFile commands, I'd like to be able to specify whether the new image is to be matched spectrally, spatially, or in display limits. It would be great to be able to link to different images for each, e.g., something like:

await im1= app.openFile("G008.67_B3_spw0_7M12M_n2hp.image")
await im2 = app.appendFile("G010.62_B3_spw0_7M12M_n2hp.image", spectral_match=im1, spatial_match=None, raster_match=im1)
await app.appendFile("G010.62_B3_spw1_7M12M_h41a.image", spectral_match=None, spatial_match=im2, raster_match=None)