megalut / sewpy

Source Extractor Wrapper for Python
GNU General Public License v3.0
22 stars 11 forks source link

Support for "any" SExtractor output catalog format #10

Open mtewes opened 10 years ago

mtewes commented 10 years ago

Thanks to @terben for this suggestion. Maybe sewpy does not necessarily have to be able to read any format and return it as an astropy table, but it should at least be possible to have SExtractor write any of the SExtractor catalog formats to disk. I also wonder if we want to keep enforcing the filepath of the output catalog. Maybe the "config" should be able to overwrite the sewpy standard about this.

dr-guangtou commented 10 years ago

Hi, I just start to use SEWPY, and it is already very helpful! Thanks!

I also agree that SEWPY should allow SExtractor to generate different format for catalog. Another reason is for the application of PSFEx, one has to choose VIGNET(X,Y) as output parameter, and has to use the FITS_LDAC format for catalog.

It would be very useful that SEWPY can just use the CATALOG_NAME and CATALOG_TYPE from the config, and only read it when the format is ASCII_HEAD.

mtewes commented 10 years ago

Hi @dr-guangtou, thanks for the feedback! Good point about the PSFEx application. We have this in mind as well, and should really implement all the current issues soon. We should also add better demos.