Skip to content

Indexing bug #1

@j6626

Description

@j6626

Lines 365 and 372 read response_freqs = (np.squeeze(data.freqs[nchan_kernel/2:-nchan_kernel/2+1]) + data_delfreq/2.0)/1.e6

However, there is no guarantee that nchan_kernel is even, so the code will throw an error when nchan_kernel is odd.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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