[daip] Help on AIPS {External}

Eric Greisen egreisen at nrao.edu
Fri Dec 27 14:03:36 EST 2024


It looks like your KNTR worked with the optical image making a small grey-scale area at roughly 0 37 48.5, 31 13 40.  I do not know why there is no "star" KNTR requires SDTVERS=1; STFACTOR=1 or more to plot it. You did not show me the inputs to KNTR.  If your optical image contains more than a single star-like object, you must set pixrange to bring out more of the optical image

Eric Greisen

________________________________
From: Soumen Bera <soumenbera.phys.rs at jadavpuruniversity.in>
Sent: Thursday, December 26, 2024 9:16 PM
To: Eric Greisen <egreisen at nrao.edu>
Subject: Re: Help on AIPS {External}

Sir, thank you for your detailed explanation. Unfortunately, I am unable to do those things.

Let's solve the problems, one by one.

First, print a star at the referred coordinates of the output file. I opened a new ID in AIPS and followed the steps. Here, I have attached the input texts, print message file, my star file, and the output image that I got with this email. Kindly find those and let me know where I am going wrong, as there is no star in the output image file.


---
with regards,
Soumen Bera

On Tue, Dec 24, 2024 at 12:11 AM Eric Greisen <egreisen at nrao.edu<mailto:egreisen at nrao.edu>> wrote:

My typing late in the evening is not good.  I meant HGEOM.  I need to see what you are trying to do in much more detail in order to try to see what is going wrong.  The output of IMHEADER on each of the image files before HGEOM or OHGEO.  The inputs to OHGEO and the IMHEADER of the output file from OHGEO.
 The IMHEADERs for the input files for KNTR.   Note - do a clrmsg.  then getn n ??, imheader; etc to put everything in your message file.  Then  do a prtmsg to direct the output to a text file. Then attach the text file to an email.

STARS is really pretty simple.  Point at the image file you want to attach your plots to (with GETN).  STVERS=0

Edit a text file in some area on your disk.  Easiest to explain - choose your home area:

cd
emacs mystars.txt  (or some other editor)

type a line:

hh mm ss.ss  dd mm ss.s  1 1 0 3

where the hh mm ss.ss is the right ascension of the object you want to mark and dd mm ss.s is the declination.  The size parameters control how big the symbol is so 1 asec may not be appropriate.  3 is for a circle.

In aips  INTEXT = 'HOME:mystars.txt
with no close quote
x=3
go stars



Eric Greisen
________________________________
From: Soumen Bera <soumenbera.phys.rs at jadavpuruniversity.in<mailto:soumenbera.phys.rs at jadavpuruniversity.in>>
Sent: Monday, December 23, 2024 8:37 AM
To: Eric Greisen <egreisen at nrao.edu<mailto:egreisen at nrao.edu>>
Cc: daip <daip at nrao.edu<mailto:daip at nrao.edu>>
Subject: Re: Help on AIPS {External}

Sir, I did not understand how to run the 'STARS'. Could you elaborate with an example?

And about the overlaying issue of Pan-STARRS images, I have already tried by using OHGEO or HGEOM. But it failed. It shows the maps are not coincident either AXIS 1 or AXIS 2. However, HGREOM is unavailable. Kindly refer to the attached images.


---
with regards,
Soumen Bera



On Sun, Dec 22, 2024 at 11:42 PM Eric Greisen <egreisen at nrao.edu<mailto:egreisen at nrao.edu>> wrote:
I am sorry but I do not see the problem.  Use OHGEO or HGREOM to put the 2 images on identical coordinate projections.  Then STARS to make a "star" at the desired coordinate.  Then one of the contour tasks to make a grey scale of one image and contour of the other and to plot the "star".

If it failed to do something pleased tell me what the failure messages were .

Eric Greisen

________________________________
From: Soumen Bera <soumenbera.phys.rs at jadavpuruniversity.in<mailto:soumenbera.phys.rs at jadavpuruniversity.in>>
Sent: Friday, December 20, 2024 12:12 AM
To: Eric Greisen <egreisen at nrao.edu<mailto:egreisen at nrao.edu>>
Cc: daip <daip at nrao.edu<mailto:daip at nrao.edu>>
Subject: Re: Help on AIPS {External}

Sir, I have to overlay the radio image (contour) on the optical image (gray scale in the background). I have done that using the optical SDSS/DSS data. But the problem is that in the final image, the optical host is not properly visible. So, I need to mark the optical host position by a circle or something else.

However, I am unable to produce the plot using the Pan-STARRS images as the optical image. I have tried using the OHGEO or HGEOM, but it failed to do so. If I use the Pan-STARRS instead of the SDSS or DSS, then the optical host might have a better visibility.

I have attached an image with this email, where I would like to add a circle at the optical centre (lets say at the centre of the sample image).

Kindly help in this regard.

---
with regards,
Soumen Bera


On Fri, Dec 20, 2024 at 3:07 AM Eric Greisen <egreisen at nrao.edu<mailto:egreisen at nrao.edu>> wrote:
It depends a bit on what you need to do.  The task STARS will let you prepare a ST table with "star" coordinates and type.   Then AIPS contour tasks allow you to plot the "stars" on the contour image.  Alternatively, LWPLA makes a
very straightforward PostScript text file which you can edit to add anything you like.  See the help file called POSTSCRIPT.   Circles are perhaps done best by the STARS route, simpler things like plus signs are easy to just add to the PostScript file.  Note that I always edit the PostScript if only to clean up the labeling.

Eric Greisen






________________________________
From: Soumen Bera <soumenbera.phys.rs at jadavpuruniversity.in<mailto:soumenbera.phys.rs at jadavpuruniversity.in>>
Sent: Thursday, December 19, 2024 2:20 PM
To: Eric Greisen <egreisen at nrao.edu<mailto:egreisen at nrao.edu>>
Subject: Help on AIPS {External}

Respected Sir,

Kindly help me to draw mark at a particular region with circle or place any mark in anywhere in the contour image in AIPS, as given in the attached example image figure.

________________________________
From: Soumen Bera <soumenbera.phys.rs at jadavpuruniversity.in>
Sent: Thursday, December 26, 2024 9:16 PM
To: Eric Greisen <egreisen at nrao.edu>
Subject: Re: Help on AIPS {External}

Sir, thank you for your detailed explanation. Unfortunately, I am unable to do those things.

Let's solve the problems, one by one.

First, print a star at the referred coordinates of the output file. I opened a new ID in AIPS and followed the steps. Here, I have attached the input texts, print message file, my star file, and the output image that I got with this email. Kindly find those and let me know where I am going wrong, as there is no star in the output image file.


---
with regards,
Soumen Bera

On Tue, Dec 24, 2024 at 12:11 AM Eric Greisen <egreisen at nrao.edu<mailto:egreisen at nrao.edu>> wrote:

My typing late in the evening is not good.  I meant HGEOM.  I need to see what you are trying to do in much more detail in order to try to see what is going wrong.  The output of IMHEADER on each of the image files before HGEOM or OHGEO.  The inputs to OHGEO and the IMHEADER of the output file from OHGEO.
 The IMHEADERs for the input files for KNTR.   Note - do a clrmsg.  then getn n ??, imheader; etc to put everything in your message file.  Then  do a prtmsg to direct the output to a text file. Then attach the text file to an email.

STARS is really pretty simple.  Point at the image file you want to attach your plots to (with GETN).  STVERS=0

Edit a text file in some area on your disk.  Easiest to explain - choose your home area:

cd
emacs mystars.txt  (or some other editor)

type a line:

hh mm ss.ss  dd mm ss.s  1 1 0 3

where the hh mm ss.ss is the right ascension of the object you want to mark and dd mm ss.s is the declination.  The size parameters control how big the symbol is so 1 asec may not be appropriate.  3 is for a circle.

In aips  INTEXT = 'HOME:mystars.txt
with no close quote
x=3
go stars



Eric Greisen
________________________________
From: Soumen Bera <soumenbera.phys.rs at jadavpuruniversity.in<mailto:soumenbera.phys.rs at jadavpuruniversity.in>>
Sent: Monday, December 23, 2024 8:37 AM
To: Eric Greisen <egreisen at nrao.edu<mailto:egreisen at nrao.edu>>
Cc: daip <daip at nrao.edu<mailto:daip at nrao.edu>>
Subject: Re: Help on AIPS {External}

Sir, I did not understand how to run the 'STARS'. Could you elaborate with an example?

And about the overlaying issue of Pan-STARRS images, I have already tried by using OHGEO or HGEOM. But it failed. It shows the maps are not coincident either AXIS 1 or AXIS 2. However, HGREOM is unavailable. Kindly refer to the attached images.


---
with regards,
Soumen Bera



On Sun, Dec 22, 2024 at 11:42 PM Eric Greisen <egreisen at nrao.edu<mailto:egreisen at nrao.edu>> wrote:
I am sorry but I do not see the problem.  Use OHGEO or HGREOM to put the 2 images on identical coordinate projections.  Then STARS to make a "star" at the desired coordinate.  Then one of the contour tasks to make a grey scale of one image and contour of the other and to plot the "star".

If it failed to do something pleased tell me what the failure messages were .

Eric Greisen

________________________________
From: Soumen Bera <soumenbera.phys.rs at jadavpuruniversity.in<mailto:soumenbera.phys.rs at jadavpuruniversity.in>>
Sent: Friday, December 20, 2024 12:12 AM
To: Eric Greisen <egreisen at nrao.edu<mailto:egreisen at nrao.edu>>
Cc: daip <daip at nrao.edu<mailto:daip at nrao.edu>>
Subject: Re: Help on AIPS {External}

Sir, I have to overlay the radio image (contour) on the optical image (gray scale in the background). I have done that using the optical SDSS/DSS data. But the problem is that in the final image, the optical host is not properly visible. So, I need to mark the optical host position by a circle or something else.

However, I am unable to produce the plot using the Pan-STARRS images as the optical image. I have tried using the OHGEO or HGEOM, but it failed to do so. If I use the Pan-STARRS instead of the SDSS or DSS, then the optical host might have a better visibility.

I have attached an image with this email, where I would like to add a circle at the optical centre (lets say at the centre of the sample image).

Kindly help in this regard.

---
with regards,
Soumen Bera


On Fri, Dec 20, 2024 at 3:07 AM Eric Greisen <egreisen at nrao.edu<mailto:egreisen at nrao.edu>> wrote:
It depends a bit on what you need to do.  The task STARS will let you prepare a ST table with "star" coordinates and type.   Then AIPS contour tasks allow you to plot the "stars" on the contour image.  Alternatively, LWPLA makes a
very straightforward PostScript text file which you can edit to add anything you like.  See the help file called POSTSCRIPT.   Circles are perhaps done best by the STARS route, simpler things like plus signs are easy to just add to the PostScript file.  Note that I always edit the PostScript if only to clean up the labeling.

Eric Greisen






________________________________
From: Soumen Bera <soumenbera.phys.rs at jadavpuruniversity.in<mailto:soumenbera.phys.rs at jadavpuruniversity.in>>
Sent: Thursday, December 19, 2024 2:20 PM
To: Eric Greisen <egreisen at nrao.edu<mailto:egreisen at nrao.edu>>
Subject: Help on AIPS {External}

Respected Sir,

Kindly help me to draw mark at a particular region with circle or place any mark in anywhere in the contour image in AIPS, as given in the attached example image figure.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listmgr.nrao.edu/pipermail/daip/attachments/20241227/ad437158/attachment-0001.html>


More information about the Daip mailing list