fraserw / trippy

Python based Trailed Source Photometry
GNU General Public License v3.0
20 stars 13 forks source link

Adding in annotated image of the point source selector #4

Open mschwamb opened 8 years ago

mschwamb commented 8 years ago

I found it a little hard to follow your description of the point source selector. I made an annotated figure that I think would be helpful to what you have already written

screen shot 2016-01-15 at 10 56 43 am
fraserw commented 8 years ago

There is no good way to display pdfs inside markdown, and adding code to load this figure would only confuse things. There is no way to do what you ask sadly.

mschwamb commented 8 years ago

There's a may to add images in markdown.

    ![Alt text](/path/to/img.jpg)

    ![Alt text](/path/to/img.jpg "Optional title")

But absolutely your choice if you want to add it or not.

fraserw commented 8 years ago

There be the catch. What the hell is the path of a ipython notebook cached in someone’s browser? lol

On Jan 15, 2016, at 4:37 PM, Meg Schwamb notifications@github.com wrote:

There's a may to add images markdown.

![Alt text](/path/to/img.jpg)

![Alt text](/path/to/img.jpg "Optional title")

But absolutely your choice if you want to add it or not.

— Reply to this email directly or view it on GitHub https://github.com/fraserw/trippy/issues/4#issuecomment-172009730.

fraserw commented 7 years ago

Just going through the old issues, and this one never seemed to get sorted out. Do you know the way to incorporate this image with the correct path?

Mikea1985 commented 6 years ago

Could we use something like

if tutorial==True:
    pyl.text(x1, y1, 'Histogram of FWHM', color='r')
    pyl.text(x2, y2, 'Histogram of fit chi values', color='r')
    etc.

Which would make the text appear directly on the figure, but only when a tutorial flag is set to True (would need to add a tutorial keyword to the psfStarSelector call, but it could be optional with False as default). If desirable, I could have a look at implementing that.