Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

baselines to last two antennas don't seem to work #72

Open
o-smirnov opened this issue Jul 18, 2020 · 0 comments
Open

baselines to last two antennas don't seem to work #72

o-smirnov opened this issue Jul 18, 2020 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@o-smirnov
Copy link
Collaborator

Trying to select baselines to last two antennas (W05 and W06) throws errors. W04 is OK. The code is intended to treat W06-* and *-W06 as equivalent.

$ shadems msdir/4C12.03-610-cal.ms --field 3C48 -x BASELINE -y FREQ -a CORRECTED_DATA/MODEL_DATA:amp --ared std --baseline W06-* --cnum 64 --cmap pride --iter-corr --dir plots/
...
Traceback (most recent call last):
  File "/home/oms/.venv/sms/bin/shadems", line 7, in <module>
    exec(compile(f.read(), __file__, 'exec'))
  File "/home/oms/projects/shadeMS/bin/shadems", line 8, in <module>
    main.main([a for a in sys.argv[1:]])
  File "/home/oms/projects/shadeMS/shade_ms/main.py", line 525, in main
    minmax_cache=minmax_cache if options.xlim_load else None)
  File "/home/oms/projects/shadeMS/shade_ms/data_mappers.py", line 175, in register
    axis = cls.all_axes[key] = DataAxis(column, function, corr, ms, minmax, ncol, label, subset=subset)
  File "/home/oms/projects/shadeMS/shade_ms/data_mappers.py", line 252, in __init__
    remapper[index] = i
IndexError: index 522 is out of bounds for axis 0 with size 520
@o-smirnov o-smirnov added the bug Something isn't working label Jul 18, 2020
@o-smirnov o-smirnov self-assigned this Jul 18, 2020
@o-smirnov o-smirnov added this to the R0.5 milestone Jul 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant