jacopo-chevallard / BEAGLE-general

Basic information to get started with the galaxy spectral modelling tool Beagle
https://www.iap.fr/beagle/
9 stars 0 forks source link

BEAGLE_mock_catalogue_from_file.param doesn't run #56

Closed eclake closed 7 years ago

eclake commented 7 years ago

currently in the parameter file:

FILTERS THROUGHPUTS = $BEAGLE_FILTERS/test.fits

should this be

FILTERS THROUGHPUTS = $BEAGLE_FILTERS/UVUDF_filters.fits

?

Same problem in BEAGLE_Docker_test_1.param I already corrected

FILTERS CONFIGURATION = $BEAGLE_FILTERS/filters_config_UVUDF_test.dat

to

FILTERS CONFIGURATION = $BEAGLE_FILTERS/filters_config_UVUDF.dat

in the same two files

eclake commented 7 years ago

Also - if I do make this change I get the following error:


Emmas-MacBook:params efcl$ /Users/efcl/gitHubCloning/BEAGLE/build/BEAGLE --parameter-file BEAGLE_mock_catalogue_from_file.param --mock
 ---> fixed                         sfh_type                                   0
 ---> random                        tau                                        0
 ---> from_file                     metallicity                                0
 ---> from_file                     mass                                       0
 ---> from_file                     sfr                                        0
 ---> from_file                     redshift                                   0
 ---> random                        nebular_logU                               0
 ---> fixed                         nebular_xi                                 0
 ---> from_file                     nebular_Z                                  0
 ---> fixed                         attenuation_type                           0
 ---> random                        tauV_eff                                   0
 ---> fixed                         mu                                         0
 n_fitted:            0
 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 [ERROR: The minimum (redshifted) wavelength of the spectrum `5400.00` is > `1989.30`, the
minimum wavelength of the filter transmission! ]
 [FUNCTION: "convolveFilter" ]
 [MODULE: "PhotFilterMod" ]

Program received signal SIGSEGV: Segmentation fault - invalid memory reference.

Backtrace for this error:
#0  0x101f63132
#1  0x101f62450
#2  0x7fff9c557529
#3  0x1002cf966
#4  0x1000d632e
#5  0x1000d2482
#6  0x10002d1ba
#7  0x100003fc9
#8  0x100404b36
Segmentation fault: 11
eclake commented 7 years ago

Similar problem running BEAGLE_Docker_test_1.param

Emmas-MacBook:params efcl$ /Users/efcl/gitHubCloning/BANGS/build/BEAGLE --parameter-file BEAGLE_Docker_test_1.param --mock
 ---> fixed                         sfh_type                                   0
 ---> random                        tau                                        0
 ---> random                        metallicity                                0
 ---> random                        mass                                       0
 ---> random                        redshift                                   0
 ---> dependent                     nebular_logU                               0
 ---> fixed                         nebular_xi                                 0
 ---> dependent                     nebular_Z                                  0
 ---> fixed                         attenuation_type                           0
 ---> random                        tauV_eff                                   0
 ---> fixed                         mu                                         0
 n_fitted:            0
 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 [ERROR: The minimum (redshifted) wavelength of the spectrum `10701.8` is > `1989.30`, the
minimum wavelength of the filter transmission! ]
 [FUNCTION: "convolveFilter" ]
 [MODULE: "PhotFilterMod" ]

Program received signal SIGSEGV: Segmentation fault - invalid memory reference.

Backtrace for this error:
#0  0x101f63132
#1  0x101f62450
#2  0x7fff9c557529
#3  0x1002cf966
#4  0x1000d632e
#5  0x1000d2482
#6  0x10002d1ba
#7  0x100003fc9
#8  0x100404b36
Segmentation fault: 11

I am running v0.16.0

jacopo-chevallard commented 7 years ago

You are right with the modifications of the parameter files!

For the errors, these are actually "real" errors in Beagle: since we shrunk the templates, Beagle complains that the redshifted SED doesn't go enough in the blue for a given filter... I think it's worth keeping this error check, what do you think? In principle commenting out the SHRINK TEMPLATES WL RANGE keyword will solve, I'm pushing right now a new commit with updated parameter files

eclake commented 7 years ago

That makes sense - thanks! I have been making some edits so I hope that's not complicating you being able to push your edits.

jacopo-chevallard commented 7 years ago

Oups, you pushed already, I didn't notice, then you can try and comment out the

SHRINK TEMPLATES WL RANGE

and let me know if it solves!

(also, it's very useful to group the commits into a single one when they refer to the same issue, and reference the issue in the commit message adding, in this case, jacopo-chevallard/BEAGLE-general#56. You can even close the issue by adding closing or fixes in the commit message, see here)

eclake commented 7 years ago

OK then I'll make the change

(also, it's very useful to group the commits into a single one when they refer to the same issue, and reference the issue in the commit message adding, in this case, jacopo-chevallard/BEAGLE-general#56. You can even close the issue by adding closing or fixes in the commit message, see here)

As for grouping - sure but I've been editing directly on the website for simplicity. - good to know about the closing issues!

eclake commented 7 years ago

All these issues fixed, closing For reference: final fixes in commits 2b9227b and bd49e40