astromatic/sextractor

> *Error*: SOM file not found: default.som

jiminlee728 opened this issue · 4 comments

I installed source extractor using brew on Mac.
I am trying to use with the default configuration files, but error appears.
Fitting model: background offset+point source+Sersic spheroid+exponential disk

Reading Neural Network Weights
Error: SOM file not found: default.som

I don't see any som file except som.h and som.c in src file neither in my directory or the git repository.
Is there anyone had same problems or know how to solve?

Try removing the line

SOM_NAME         default.som    # File containing Self-Organizing Map weights

from your SExtractor configuration file (probably the one named default.sex).

I already don't have it in default.sex.
#-------------------------------- WEIGHTing ----------------------------------

WEIGHT_TYPE NONE # type of WEIGHTing: NONE, BACKGROUND,
# MAP_RMS, MAP_VAR or MAP_WEIGHT
WEIGHT_IMAGE weight.fits # weight-map filename

This is all under WEIGHTing.
I tried to add that line in the file but also not working

OK, than maybe you have some parameters ending with _SOMFIT in the output configuration file default.param? If this is the case - maybe try removing/commenting them out?

It works!! Thank you