[AstroPy] Changing orientation of one image to match with other image orientation. (Craig, Matthew W)

Sebastian Gurovich sebas0 at gmail.com
Thu Oct 20 09:43:42 EDT 2022


My apologies Mohammad, i think Matthew W Craig pointed you in the right
direction.
best,

On Thu, Oct 20, 2022 at 8:20 AM <astropy-request at python.org> wrote:

> Send AstroPy mailing list submissions to
>         astropy at python.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         https://mail.python.org/mailman/listinfo/astropy
> or, via email, send a message with subject or body 'help' to
>         astropy-request at python.org
>
> You can reach the person managing the list at
>         astropy-owner at python.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of AstroPy digest..."
>
>
> Today's Topics:
>
>    1. Changing orientation of one image to match with other image
>       orientation. (ANKITA GHOSH)
>    2. Re: Changing orientation of one image to match with other
>       image orientation. (Craig, Matthew W)
>    3. Re: Changing orientation of one image to match with other
>       image orientation. (Mohammad Shameoni Niaei)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 20 Oct 2022 15:57:55 +0530
> From: ANKITA GHOSH <ankita.rimi98 at gmail.com>
> To: astropy at python.org
> Subject: [AstroPy] Changing orientation of one image to match with
>         other image orientation.
> Message-ID:
>         <CAEUBuA43WOtcHf-t2=
> vDp0mp-n8tmPZYS+kFJwonJK-8TRjApw at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Dear all,
>
> I am trying to make image cut outs from two different images (fit file with
> wcs ) having different orientation. One image have north direction pointed
> in upside and east in left side, another has an arbitrary orientation of
> north-east direction. I want to orient the second image like the first
> image that has north in upside and east in left side. Can you please
> suggest something to do so. Thank you.
>
> Regards,
> Ankita
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> https://mail.python.org/pipermail/astropy/attachments/20221020/19f3b58a/attachment-0001.html
> >
>
> ------------------------------
>
> Message: 2
> Date: Thu, 20 Oct 2022 10:45:11 +0000
> From: "Craig, Matthew W" <mcraig at mnstate.edu>
> To: Astronomical Python mailing list <astropy at python.org>
> Subject: Re: [AstroPy] Changing orientation of one image to match with
>         other image orientation.
> Message-ID: <91B9E9C4-A011-49F9-9935-EDFF0D118AC6 at minnstate.edu>
> Content-Type: text/plain; charset="utf-8"
>
> Hi,
>
> Since you already have WCS for both images I would recommend using
> reproject: https://reproject.readthedocs.io/en/stable/
>
> Thanks,
> Matt Craig
>
> schedule: http://physics.mnstate.edu/craig
> ??
> Professor
> Department of Physics and Astronomy
> Minnesota State University Moorhead
> 1104 7th Ave S, Moorhead, MN 56563
>
> Office: Hagen 307F
> Phone: (218) 477-2439
> Fax: (218) 477-2290
>
> On Oct 20, 2022, at 11:27, ANKITA GHOSH <ankita.rimi98 at gmail.com<mailto:
> ankita.rimi98 at gmail.com>> wrote:
>
> Dear all,
>
> I am trying to make image cut outs from two different images (fit file
> with wcs ) having different orientation. One image have north direction
> pointed in upside and east in left side, another has an arbitrary
> orientation of north-east direction. I want to orient the second image like
> the first image that has north in upside and east in left side. Can you
> please suggest something to do so. Thank you.
>
> Regards,
> Ankita
> _______________________________________________
> AstroPy mailing list
> AstroPy at python.org<mailto:AstroPy at python.org>
> https://mail.python.org/mailman/listinfo/astropy
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> https://mail.python.org/pipermail/astropy/attachments/20221020/bfda4846/attachment-0001.html
> >
>
> ------------------------------
>
> Message: 3
> Date: Thu, 20 Oct 2022 14:19:29 +0300
> From: Mohammad Shameoni Niaei <m.shemuni at gmail.com>
> To: Astronomical Python mailing list <astropy at python.org>
> Subject: Re: [AstroPy] Changing orientation of one image to match with
>         other image orientation.
> Message-ID:
>         <CAAXud8MsuOJpoLdAR7gjeCvAJrsHyrO-a7qHRKFEkvKj7N=
> zcQ at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hello Ankita
>
> You need image alignment If your images were just shifted you could have a
> single point selected on both images and shift one accordingly.
> However, we see your images are also rotated. It makes the job a bit
> complicated.
>
> But fear not. There are good tools such as astroalign
> <https://astroalign.quatrope.org/en/latest/>.
>
> astroalign: https://astroalign.quatrope.org/en/latest/
>
> On Thu, Oct 20, 2022 at 1:28 PM ANKITA GHOSH <ankita.rimi98 at gmail.com>
> wrote:
>
> > Dear all,
> >
> > I am trying to make image cut outs from two different images (fit file
> > with wcs ) having different orientation. One image have north direction
> > pointed in upside and east in left side, another has an arbitrary
> > orientation of north-east direction. I want to orient the second image
> like
> > the first image that has north in upside and east in left side. Can you
> > please suggest something to do so. Thank you.
> >
> > Regards,
> > Ankita
> > _______________________________________________
> > AstroPy mailing list
> > AstroPy at python.org
> > https://mail.python.org/mailman/listinfo/astropy
> >
>
>
> --
> Mohammad Shameoni Niaei
> Astronomer
> Atat?rk University, Astrophysics Research and Application Center.
> ERZURUM-TURKEY
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> https://mail.python.org/pipermail/astropy/attachments/20221020/b7a1ba21/attachment.html
> >
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> AstroPy mailing list
> AstroPy at python.org
> https://mail.python.org/mailman/listinfo/astropy
>
>
> ------------------------------
>
> End of AstroPy Digest, Vol 192, Issue 1
> ***************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.python.org/pipermail/astropy/attachments/20221020/e8529e81/attachment-0001.html>


More information about the AstroPy mailing list