- fix: fixing issues with multiprocessing on a Mac OS
- [FIX]: only attempt to create the marginal photometry plot if photometry has been printed to the output file
- [ADD] Added option to print LaTeX table in column-wise order (one parameter per row)
- [MOD] Changing the default credible interval to be printed to the LaTeX table to 68%
- [ADD] Added command line option to average or not the positive/negative errors printed in the output LaTeX table
- [FIX]Fixing computationof LaTeX table when the summary catalogue has been computed flattening the columns
- [FIX] Fixing command line options dependencies: some options require the option
- [FIX] Fixed y-axis label (units) when plotting EWs vs line fluxes
- [FIX] Spectral indices labels were not correctly printed when reading them from a JSON file
- [FIX] Fixing error when line labels in the spectral indices configuration file do not match the keys in the JSON file
- [FEAT] Adding feature to correctly plot upper/lower limits as uppper/lower facing triangles
- [ADD] Adding option to specify the definition of the upper/lower limits in units of sigma
- [FIX] Missing default (False) flag for --compute-summary option
- [FIX] Fixing errors when no summary_config.json file is present
- [FIX] Fixing passing a summary_config.json file to configure the summary catalogue computation
- [FIX] Fixing case column names matching
- [FIX] Fixing errors of filters with names longer than 20 characters
- [ADD] Reordering the hdu extensions so that the POSTERIOR PDF extension is always checked first
- [FIX] Other fix for upper-lower cases mismatches. [ADD] Also added a sanity check that all parameters for which we require a LaTeX table have been printed
- [FIX] Fixing column names mismatch caused by upper/lower cases
- [ADD] Added horizontal line to show the level of 0 flux
- [ADD] Added two command line options to set the rotation of the x-axis labels and to set the y-range of the residuals
- [FIX] Fixing error
TypeError: Cannot compare structured or void to non-void arrays.
and removing parameters not present in the result file being analyzed
- [ADD] Allowing the params_names.json file to contain entries not present in the output file, for instance adjustable parameters not fitted for. This enables users to use a common params_names.json file for different Beagle parameter files
- Merge branch 'feature/log_level' into develop
- [ADD] Adding possibility to set logging level from command line
- Merge branch 'fix/crontab' into develop
- [ADD] Added check so that when --show-calibration-option is set the presence of a calibration polynomial is checked, to avoid encountering errors (this enable using the same pyp_beagle command for runs w and w/o calibration polynomial)
- [FIX] numpyp.int --> int
- Skip objects with all fluxes set to 0
- Avoid using NaN or Inf as axes limits, fixes #54
- Correctly dealing with observed spectra with negative errors, i.e. we now ignore the wl bins corresponding to negative errors
- Removing undefined float64 data type
- Version bump 0.10.0
- Removed spurious print statements
- Python 3.7 --> 3.8
- Refactoring to the latest versions of numpy and matplotlib
- Removing mandatory presence of json file to configure emission line labels
- Enable units definition in spectral indices catalogue
- Version bump 0.10.0
- Python 3.7 --> 3.8
- Refactoring to the latest versions of numpy and matplotlib
- Removing mandatory presence of json file to configure emission line labels
- Enable units definition in spectral indices catalogue
- Version bump 0.9.13
- Several cosmetic improvements to the way residuals are shown, in particular by introducing the possibility of showing residuals in absolute units, relative units, or in units of sigma
- Show tick marks at integer locations
- Added option to show different type of residuals: absolute, relative, or in units of sigma (default option)
- Version bump 0.9.12
- Bug fix: the '--show-line-labels' option was still creating issues for labels at the edges of the spectra
- Version bump 0.9.11
- Bug fix: emission lines labelling in marginal plots now works again
- Updated requirements
- Version bump 0.9.10
- The options '--show-full-SED' and '--show-MAP-SED' now work well for the spectra marginal plots. A new '--n-full-SED' option has been added to define the number of full SED to overplot on the marginal plots
- Version bump 0.9.9
- Bug fix: residuals can be correctly computed even when the marginal wl array and the data wl array do not have the same size, fixes #52
- Version bump 0.9.8
- Removing unsupported 'papertype' option from matplotlib fig.savefig method
- Update README.md
- Version bump 0.9.7
- Bug fix: an issue was introduced when adding support for the MAP solution in the summary catalogue, this fix closes #51
- Bug fix: correctly dealing with log flux scale in the presence of negative or zero fluxes
- Removed spurious print statements
- Python 3.7 --> 3.8
- Refactoring to the latest versions of numpy and matplotlib
- Removing mandatory presence of json file to configure emission line labels
- Enable units definition in spectral indices catalogue
- Several cosmetic improvements to the way residuals are shown, in particular by introducing the possibility of showing residuals in absolute units, relative units, or in units of sigma
- Show tick marks at integer locations
- Added option to show different type of residuals: absolute, relative, or in units of sigma (default option)
- Bug fix: the '--show-line-labels' option was still creating issues for labels at the edges of the spectra
- Bug fix: emission lines labelling in marginal plots now works again
- Updated requirements
- The options '--show-full-SED' and '--show-MAP-SED' now work well for the spectra marginal plots. A new '--n-full-SED' option has been added to define the number of full SED to overplot on the marginal plots
- Bug fix: residuals can be correctly computed even when the marginal wl array and the data wl array do not have the same size, fixes #52
- Removing unsupported 'papertype' option from matplotlib fig.savefig method
- Update README.md
- Bug fix: an issue was introduced when adding support for the MAP solution in the summary catalogue, this fix closes #51
- Bug fix: correctly dealing with log flux scale in the presence of negative or zero fluxes
- Raise error whne unable to match object IDs and input spectra
- Allow post-processing of spectra with redshift as an adjustable parametter, i.e. the redshift column can contain different values
- Defining backend when on Mac OS
- Adding some logging messages to ease debugging
- Added new fields to the summary catalogue: the MAP value for each parameter, and the probability, likelihood and chi_square corresponding to the MAP solution. Also added the number of data points used in the fitting to ease the calculation of a pseudo reduceed chi_square. Closes #49
- Added command-line options to overwrite existing files and to flatten the columns in the output FITS files
- Replacing deprecated Astropy FITS clobber keyword, fixes #50
- Fixing plotting of full SED (spectrum) on marginal plots for photometry. Units conversion (F_lambda to F_nu) was wrong (a regression that appeared at some point). Fixes #47
- Remove Matplotlib deprecated option (see https://matplotlib.org/3.3.1/gallery/text_labels_and_annotations/usetex_baseline_test.html), fixes #48
- Enabling setting wl units for photometry plots as well (via the --wl-units option)
- Bug fix: now supporting negative fluxes (e.g. absorption lines)
- Removed dependency on WeightedKDE since scipy.stats now supports weighted gaussian_kde
- Merge pull request #46 from eclake/calibration_branch_new
- removing print statements and fixing bugs
- Update beagle_spectra.py
- Update beagle_spectra.py
- Update beagle_calibration_correction.py
- adding calibration_correction plot
- Removed dependencies which are already included in the Python Standard Library
- Fixing wrong module imports, fixes #44
- Modifying Github action badge
- Editing Github workflow
- Modifying the workflow to trigger the action at releases
- Adding workflow badge
- Changed Github workflow path and file name
- Merge branch 'feature/github_actions' into develop
- Removing Shippable file
- Modifying Github actions workflow
- Editing Github workflow/actions
- Updated requirements
- Adding directory for Github actions
- Fixing some Python 3 conversion issues
- Corrected a wrong import
- Enabling reading the ID column name of a photometric catalogue from the filters configuration file (it can still be overridden through the command line argument)
- Trying to solve CI error: can't find Rust compiler
- RuntimeError: latex was not able to process the following string:b'lp' solved following https://stackoverflow.com/a/32020370, i.e. redefining the minus sign in the preamble
- Recognizing use of env variables in the filters definition; skipping the header line in the ASCII filter transmission files
- Trying to solve a LaTeX error RuntimeError: latex was not able to process the following string: b'lp' using hints from here garrettj403/SciencePlots#2 and here https://stackoverflow.com/a/53080504
- Adding LaTex use through our matplotlib configuration
- Updated env variables
- Updating README
- Adding missing import; adding configparser option since the default option has changed
- Python 3.8 not yet available on Shippable, using 3.7 instead
- Updating README to reflect move to Python 3
- Merge branch 'python_3' into develop
- Moving to support of Python 3 (3.8) exclusively
- Updated setup for Python 3
- Updated modules for Python 3
- Fix pypi failure: specifying that the README is in Markdown format, otherwise pushing to pypi fails, see https://pypi.org/help/#description-content-type and https://github.com/di/markdown-description-example
- Bug fix: the marginal photometry plot was failing when the filter configuration file contained bands not present in the observations, but only computed for the models
- Added option to specify flux units for photometry
- Update README.md
- Read object redshift from the Beagle output file, so that pyp_beagle correctly deals with redshifts when provided in the prior catalogue; correctly plots masked regions read from the 'MARGINAL SED MASK' extension
- Correctly identify object ID from Beagle output file name
- Cosmetics improvements to the marginal photometry plot
- Introduced option to overplot on a photometric SED the maximum-a-posteriori (MAP) spectrum
- Exploiting the *args and **kwargs appraoches to simplify the passing of command-line arguments to the different classes
- Bug fix: file names of spectra and object IDs were not correctly matched
- Correctly dealing with lines not observed (i.e. negative fluxes and errors in the observed catalogue)
- Implemented option to print the values of observed and model fluxes on the plot
- Removed unused function
- Changed parser variable name
- Cosmetics: added dotted lines linking symbols in the plot to the line labels on the x-axis
- Merge branch 'feature/spectral_indices' into develop
- Added SpectralIndices module
- Finished integration of module to plot spectral indices (integrated line fluxes and EWs)
- Added option to print values of line fluxes in the output image
- Started integrating the new 'SpectralIndices' class in the main module
- Started implementing the new module to post-process fitting to spectral indices / integrated fluxes / EWs
- Using the new class 'ObservedCatalogue'
- Added new module containing a generic 'observed catalogue'
- Changed mail address
- Removed support for python 2.6
- The font size in the triangle plots can now be set using the '--fontsize' command-line option; for aesthetical reasons, reduced the number of tick marks and tick labels in the triangle plots
- In the absence of a JSON file, the summary catalogue is now computed by default for the 'POSTERIOR PDF' extension
- Removing LaTeX package aas_macros.sty, deals with #34
- Included matplotlib configuration directly inside the package, to avoid the need of having to customize the matplotlibrc configuration file
- Specifying astropy version, otherwise the installation will fail, closes #33
- Added option to show labels of photometric filters in the marginal plot
- Bug fix: pyp_beagle was crashing when the filter throughputs curves were passed via the 'fileName:' token inside the filter configuration file, in the absence of the 'FILTERS THROUGHPUTS' FITS file
- Updated dependencies
- Allow spectra without a redshift header keyword to be correctly processed
- Added version file
- Introduced possibility to use multiprocessing to speed up the calculation of the summary catalogue; added natural sorting or rows in the summary catalogue
- Added dependency on 'natsort' package for natural sorting
- Renamed 'np' variable to 'n_proc' to avoid confusion with numpy ---> np
- Enable use of IDs longer than 20 characters (100 characters is current limit, but it can be easily changed), deals with #32
- Implemented option to plot log10(fluxes) for photometry
0.5.10 ("03/28/2018")
Closed issues:
- Meaning of keywords in the summary file #30
0.5.9 ("12/13/2017")
Closed issues:
- TypeError: 'AxesSubplot' object has no attribute '__getitem__' #28
0.5.8 ("12/07/2017")
0.5.7 ("11/29/2017")
Closed issues:
- Error with 'gridspec_kw' in version 0.5.6 #29
0.5.6 ("09/06/2017")
0.5.5 ("08/24/2017")
Closed issues:
- Missing dependencies? "No module named set_shared_labels" #27
0.5.4 ("08/08/2017")
0.5.3 ("08/08/2017")
0.5.2 ("07/28/2017")
0.5.1 ("07/27/2017")
0.5.0 ("07/26/2017")
Closed issues:
- Issues with --plot-triangle and --plot-marginal #25
0.4.6 ("06/22/2017")
0.4.5 ("06/22/2017")
0.4.4 ("06/07/2017")
0.4.3 ("05/16/2017")
0.4.2 ("05/04/2017")
0.4.1 ("05/02/2017")
Closed issues:
- Error with --plot-marginal (fit to multiple spectra) #23
- ImportError: No module named autoscale #22
- Summary Catalog Error with "compute" #20
0.4.0 ("03/30/2017")
Closed issues:
- Error running ./postprocess_beagle_results.py ImportError: No module named WeightedKDE #21
- BANGS_summary_catalogue masses #3
0.3.1 ("03/29/2017")
0.3.0 ("03/27/2017")
0.2.10 ("03/08/2017")
Closed issues:
- numpy TypeError #19
0.2.9 ("12/08/2016")
0.2.8 ("11/01/2016")
Fixed bugs:
- error creating triangle plot with single value parameter #17
Closed issues:
0.2.7 ("10/06/2016")
Closed issues:
- Crash while making summary catalog #14
0.2.6 ("10/05/2016")
Closed issues:
- python packages for PyP-BEAGLE #7
0.2.5 ("10/05/2016")
Closed issues:
- matplotlibrc file #12
0.2.4 ("10/05/2016")
Closed issues:
- Crashin while making summary catalog #13
0.2.3 ("09/01/2016")
Closed issues:
- Error running the configuration summary #10
0.2.2 ("08/20/2016")
0.2.1 ("07/21/2016")
0.2.0 ("07/21/2016")
Fixed bugs:
- Calculations of medians and intervals in beagle_summary_catalogue #9
Closed issues:
- latex - python incompatibility #8
0.1.7 ("07/11/2016")
0.1.6 ("05/13/2016")
0.1.5 ("05/13/2016")
Closed issues:
0.1.4 ("03/17/2016")
0.1.3 ("03/16/2016")
0.1.2 ("03/15/2016")
0.1.1 ("03/11/2016")
0.1.0 ("03/11/2016")
Fixed bugs:
- bangs_photometry singular matrix #1
* This Change Log was automatically generated by github_changelog_generator