Skip to content

Fix image plot with catalog markers in Euclid PHZ catalog notebook #332

@jaladh-singhal

Description

@jaladh-singhal

This plot has markers landing outside the image boundaries which wasn't the case earlier. Maybe it's because of data update or TAP query results have changed or some library version issue.

Workaround to make all markers land within the image cutout (tested):

Change following adql in adql=:

"WHERE 1 = CONTAINS(POINT('ICRS', mer.ra, mer.dec), "
f"BOX('ICRS', {ra_cutout}, {dec_cutout}, {size_cutout/np.cos(coords_cutout.dec)}, {size_cutout})) "

to

"WHERE 1 = CONTAINS(POINT('ICRS', mer.ra, mer.dec), "
f"BOX('ICRS', {ra_cutout}, {dec_cutout}, {size_cutout}, {size_cutout})) "

But it's not scientifically accurate I guess.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcontent: euclidContent related issues/PRs for notebooks with Euclid relevance

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions