Skip to content

Problem with synthetic.refine_binary_events #71

@SophieBudzik

Description

@SophieBudzik

Hi
I have a problem that is occurring when I try to implement the example with multiples (PopSyCLE_example_multiples.ipynb). During the step Generating Binary Lightcurves I get a following:
multiprocessing.pool.RemoteTraceback:
Traceback (most recent call last):
File "/home/data/crunch04/zbudzik/multiple/gen_binary_lc_5.py", line 9, in
synthetic.refine_binary_events('multi_test_refined_events_ubv_I_Damineli16.fits',
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/data/crunch04/zbudzik/PopSyCLE/popsycle/synthetic.py", line 5434, in refine_binary_events
results = pool.starmap(one_lightcurve_analysis, inputs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.11/multiprocessing/pool.py", line 375, in starmap
return self._map_async(func, iterable, starmapstar, chunksize).get()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.11/multiprocessing/pool.py", line 774, in get
raise self._value
Exception: one_lightcurve_analysis() only analyizes binary events
"""
Traceback (most recent call last):
File "/usr/lib64/python3.11/multiprocessing/pool.py", line 125, in worker
result = (True, func(*args, **kwds))
^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.11/multiprocessing/pool.py", line 51, in starmapstar
return list(itertools.starmap(args[0], args[1]))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/data/crunch04/zbudzik/PopSyCLE/popsycle/synthetic.py", line 5616, in one_lightcurve_analysis
raise Exception('one_lightcurve_analysis() only analyizes binary events')
Exception: one_lightcurve_analysis() only analyizes binary events
"""
I would appreciate any help. Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions