Skip to content

pairs list is empty for do_hough_transform() #94

@megan-the-astronomer

Description

@megan-the-astronomer

Hello, I'm working through the quickstart guide and getting stuck at every step that calls c.do_hough_transform(). For example,


ValueError Traceback (most recent call last)
Cell In[18], line 1
----> 1 c.do_hough_transform()

File /opt/anaconda3/envs/astr230/lib/python3.12/site-packages/rascal/calibrator.py:1545, in Calibrator.do_hough_transform(self, brute_force)
1543 def do_hough_transform(self, brute_force=False):
-> 1545 if self.pairs == []:
1547 logging.warning("pairs list is empty. Try generating now.")
1548 self._generate_pairs()

ValueError: operands could not be broadcast together with shapes (746,2) (0,)

I'm using the development branch downloaded today (2 Feb 2024). Can you please advise?

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