Sextractor

91 views
Skip to first unread message

Luís Filipe

unread,
May 4, 2022, 5:31:44 AM5/4/22
to astrometry
Hello,
I am trying to run astrometry but it produces a bad source detection with image2xy.
When i try to use the sextractor feature, it says that id does not find the default.param file, but I can't see the option to give that information.

Is it possible to run sextractor on its own and give the result catalog to astrometry? Using the x-collumn and y-column. 
Or how can i give the default.param location, like it is possible to give the default.sex.

Thanks,
Luís

Dustin Lang

unread,
May 4, 2022, 8:17:47 AM5/4/22
to Luís Filipe, astrometry
In your se.conf file, if you do not set PARAMETERS_NAME, then the default is "default.param".  This is baked into source-extractor.  So if you want to set the name of this file, you must do so in your se.conf file, eg
PARAMETERS_NAME  my.param

If that doesn't work -- what command line are you running, and what does your source extractor config file look like?

If you just use
solve-field --use-source-extractor  image.jpg
then it should work.

If you use
solve-field --source-extractor-config se.conf   image.jpg
then if your se.conf lists a PARAMETERS_NAME file, you must create that file.

For example, if you use just --use-source-extractor (and turn on -v logging), you will see that it creates a temp file containing the parameters,
$ cat /tmp/tmp.param.j6syFW
X_IMAGE
Y_IMAGE
MAG_AUTO
and runs source extractor like
  source-extractor -PARAMETERS_NAME /tmp/tmp.param.j6syFW -VERBOSE_TYPE FULL -FILTER_NAME /tmp/tmp.filter.XQnIDX -CATALOG_TYPE FITS_1.0 -CATALOG_NAME /tmp/tmp.xyls.5Ezi4Y /tmp/tmp.fits.QD757X

cheers,
dustin


--
You received this message because you are subscribed to the Google Groups "astrometry" group.
To unsubscribe from this group and stop receiving emails from it, send an email to astrometry+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/astrometry/eccbf077-03f1-423f-b8e1-8a1635323eefn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages