Commits
Darrell Schiebel authored 12a3ecacea3 Merge
9 9 | |
10 10 | |
11 11 | |
12 12 | |
13 13 | using namespace casacore; |
14 14 | namespace casa { |
15 15 | |
16 16 | // The UvwCoords ctor has lines for the antennas, antenna offsets, and station |
17 17 | // positions. This ctor assumes they're present in msc_p if present at all. |
18 18 | MSUVWGenerator::MSUVWGenerator(MSColumns &msc_ref, const MBaseline::Types bltype, |
19 - | const Muvw::Types uvwtype) : |
19 + | const Muvw::Types) : |
20 20 | msc_p(msc_ref), |
21 21 | bl_csys_p(MBaseline::Ref(bltype)), // MBaseline::J2000, ITRF, etc. |
22 - | uvw_csys_p(uvwtype), // uvw_csys_p(Muvw::J2000, ITRF, etc.) |
23 22 | antColumns_p(msc_p.antenna()), |
24 23 | antPositions_p(antColumns_p.positionMeas()), |
25 24 | antOffset_p(antColumns_p.offsetMeas()), |
26 25 | refpos_p(antPositions_p(0)), // We use the first antenna for the reference |
27 26 | feedOffset_p(msc_p.feed().positionMeas()) |
28 27 | { |
29 28 | // It seems that using a String is the only safe way to go from say, |
30 29 | // MPosition::ITRF to MBaseline::ITRF. |
31 30 | MBaseline::getType(refposref_p, |
32 31 | MPosition::showType(refpos_p.getRef().getType())); |