The dark matter halo shape of edge-on disk galaxies - II. Modelling the HI observations: methodsJ. C. O'Brien, K. C. Freeman and P. C. van der KruitA&A, 515 (2010) A61DOI: https://doi.org/10.1051/0004-6361/200912566