Skip to content

Poincaré-map points in (0,0) with custom N #13

@ltuijnder

Description

@ltuijnder

When making a poincaré map, using a custom N. Some points get to (0,0). Even though that color was said to only contain 1 point.

The following configuration recreates the bug:

theta=(pi/2,0)# radians
omega=(0,0)# radians/S
mass=(1,2)# mass
length=(1,1)# length
E=2.7
precisionE=10**-14

t2=np.array([-0.3,-0.35,-0.3553325,-0.337,0,0,0,0,0])
w2=np.array([-0.3,-0.5,-0.428884,-0.2,-0.6,2.5,2.6,2.70231,-0.7834885])
leftright=np.full_like(w2,1)
N=np.array([200,200,50,200,50,50,50,1,1])

This does not happen if N is equal to a intiger

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions