Skip to content

Null array returned in TDIFlyGB with drop_points=0 #11

@DrizzleatDusk

Description

@DrizzleatDusk

Description

Calling TDIFlyGB to calculate the waveform in time domain with default drop_points=0 will return an array filled with 0.

Reason

The 360th line of TDIFly.py

res[:, -self.drop_points:] = 0. 

means

res[:, 0:] = 0. 

and thus causes all the items of the res equal to 0.

Is this an expected mechanism to force non-zero drop_points to be passed in?

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