https://github.com/gwastro/pycbc

sort by:
Revision Author Date Message Commit Date
8ab8abc Update setup.py (#4036) 26 May 2022, 12:05:59 UTC
22e1ccc Add a Hierarchical model to inference (#4023) * first pass at adding hierarchical model * remove param map static method * add variable_params and static_params setters * fix doc string * handle waveform transforms and extra stats * add function to load from config * register the model * fix typos * add ability to write model metadata to sub-groups * fix bugs, add convenience function for creating a list of hierarchical parameters * add example * fix issues writing metadata and other bugs; add a getattrs convenience function * make variable/static params strings to avoid writing issues * add ability to specify path for reading data and psd * initialize submodels with output of waveforms transforms * add run test and associated config files * create the injection files in the test script * add to test suite * add some more to the doc string * add longer run script * add example doc page * code climate * add dynesty config file * add an intermediate base class for gaussian noise models with constant lognl * typo * tweak example * fix typos in docs * fix typo in test script * allow multiple models to be specified in section headings * only look at the bit before the '-' when parsing section headers * remove stationary gaussian noise class; go back to just BaseGaussian 25 May 2022, 20:14:21 UTC
944a3ed significance.py license fix (#4031) 23 May 2022, 13:28:46 UTC
faeeab8 Add a module for dealing with significance/FAR calculations (#4004) 23 May 2022, 09:03:47 UTC
6ab103b add .ini support in pycbc_brute_bank (#4030) * add .ini support in pycbc_brute_bank * fix cc issue * update * fix cc issues * clean code * fix issues in Alex's comments * fix cc issue * fix cc issues * fix cc issue * fix cc issue * add apply_boundary_conditions * add __contains__ * use __contains__ to check * update code according to Alex's latest comments * fix cc issue * fix cc issue 23 May 2022, 06:07:56 UTC
f3d29a2 allow setting the universe in the config file (#4026) * allow setting the universe in the config file * revert * revert * remove universe option * fixes * fix * fix * remove unused code * should not delete this 16 May 2022, 12:37:30 UTC
54683d5 Joint distribution does not respect input type (#4029) * fix bug in joint distribution returning array instead of atomic type * Update joint.py Co-authored-by: Alex Nitz <alex.nitz@gmail.com> 14 May 2022, 15:09:20 UTC
f75fe86 dont upload singles if coinc already uploaded (#3984) * dont upload singles if coinc already uploaded * add time tolerance, add logging, still save the single event even if not uploading * not np * Update bin/pycbc_live Co-authored-by: Tito Dal Canton <tito@dalcanton.it> Co-authored-by: Tito Dal Canton <tito@dalcanton.it> 13 May 2022, 08:15:55 UTC
2360685 Selecting the offsource trials randomly, rather than sequentially (#4003) * Selecting the offsource trials randomly, rather than sequentially * Counting trials from 1, as per the previous convention * Avoiding repetition of offtrials * Fixing seed type and default for pycbc_grb_trig_combiner. Let numpy.random.seed deal with the type, rather than enforcing it here 12 May 2022, 11:06:32 UTC
1c8a258 Cache FIR filters in resample.py (#4015) * Cache FIR filters in resample.py * Update pycbc/filter/resample.py Co-authored-by: Tito Dal Canton <tito@dalcanton.it> Co-authored-by: Tito Dal Canton <tito@dalcanton.it> 12 May 2022, 10:13:28 UTC
10de067 Live singles in ci test (#4000) * add singles to the test run * add an injection into L-only time and see if we recover it * update check_results to use single-detector triggers * un-remove line which was breaking things locally but works on CI * add some comments to the singles file example creator * Update examples/live/make_singles_fits_file.py Co-authored-by: Tito Dal Canton <tito@dalcanton.it> * update frame-read-timeout Co-authored-by: Tito Dal Canton <tito@dalcanton.it> 12 May 2022, 08:11:47 UTC
2028a66 Verifier with pycbc injs (#4013) * Cleaner handling of extension in LalappsInspinjExecutable * hdf is no longer the only possibility with PycbcCreateInjectionsExecutable * PycbcDarkVsBrightInjectionsExecutable more similar to, e.g., PycbcCreateInjectionsExecutable * ifo-->ifos in pycbc_make_inference_inj_workflow, variable names in PycbcCreateInjectionsExecutable and, e.g., PycbcInferenceExecutable now match * Removing unused (and confusing!) PyCBCCreateInjectionsExecutable in favour of PycbcCreateInjectionsExecutable * Avoiding error when writing pycbc_create_injections results to xml file for aligned spins * sitecatalog --> site catalog for consistency * Allow pycbc_make_bank_verifier_workflow to use pycbc_create_injections * Python3 syntax for super * Allowing PycbcCreateInjectionsExecutable to be called without failure when config_file==None * Streamlined call to pycbc_create_injections job creation in pycbc_make_bank_verifier_workflow * Using is rather than str() to pinpoint the inspinj_exe class. Enforcing xml output estension for pycbc_create_injections only when pycbc_split_inspinj is used 12 May 2022, 07:30:09 UTC
4f1696a similar to PR #3922 and PR#3994 but for pycbc_dark_vs_bright_injections (#4012) * Allowing pycbc_dark_vs_bright_injections to correctly handle lsctables. Avoiding problems with eta=None * Use pycbc.conversions.eta_from_mass1_mass2()wq to calculate eta 11 May 2022, 13:31:33 UTC
144f352 Cuts to triggers/templates for use in findtrigs codes (#3975) * more work on setting up cuts system * cuts work * whitespace * get help message in nicer order * fix bug with multiple trigger cuts * revert testing change * whitespace * codeclimate * avouid too may returns * CC * CC again * who gaf about an oxford comma * stop trying to be fancy with errors * some more bits based on CC changes * codeclimate is gettibg annoying * this will be the last CC fix, as the other is flagging an issue which isnt an issue * try to prevent ModuleNotFoundError * . * thid might fix docs building but I doubt it * docs doesnt like colon after paraeterd * docs doesnt like colon after docstring headers * move template fits cuts to a separate function to reduce block nesting * CC * Update bin/all_sky_search/pycbc_coinc_findtrigs Co-authored-by: Tito Dal Canton <tito@dalcanton.it> * TD comments * forgot to remove moved code * small change to allow the cuts to be used in other contexts * improve readability * CC * remove superfluous comment * Suggestions from TD * Add a test module * Revert "Add a test module" This reverts commit 90c735d08e54b7afe19346846a131efac039a8ce. * use try-except for no triggers in template error Co-authored-by: Tito Dal Canton <tito@dalcanton.it> 10 May 2022, 14:41:19 UTC
ba7e615 parallel batch correlate (#4018) * parallel batch correlate * Flip loop order * More correlations for the BatchCorrelator!! Co-authored-by: Ian Harry <ian.harry@ligo.org> 08 May 2022, 21:25:00 UTC
264e91d fix astropy 5.1rc1 incompatibility (#4022) * check astropy 5.1rc1 * update * try Duncan M. suggested solution * works, so prepare for merge 07 May 2022, 20:59:09 UTC
5a7e3f4 split off igwn dependencies into separate reqs file, update docs (#4009) * split off ldg dependencies * add igwn reqs file * update tox 04 May 2022, 15:01:00 UTC
ae57a7a Attempt to speed up call to kind in array.pyx (#4017) * Attempt to speed up call to kind in array.pyx * Fix previous (kind speed up) 03 May 2022, 22:00:34 UTC
90c709c fix pool properties upon resume for dynesty 1.2 (#4014) 03 May 2022, 13:51:27 UTC
2c828c6 add method to convert pycbc ts to astropy (#4010) * add method to convert pycbc ts to astropy * Update timeseries.py 02 May 2022, 08:57:13 UTC
c963bab Retire decorator (#4011) * Move to functools in scheme and array * Remove decorator as requirement * Oops, forgot to push this!! * Allow kwargs where arguments are untouched * Put linter back here 01 May 2022, 10:13:42 UTC
eee5ace allow assuming science segments are valid, no need to go to server (#4005) * add method to set segment to on / off * test * test * test * test * test * test * change to warning 29 April 2022, 14:21:57 UTC
ce305cf allow lalsimulation to be missing, helper function for optional libraries (#4001) * allow lalsimulation to be missing * import fixes * fixes * test * fix * fix 29 April 2022, 12:52:56 UTC
defabdd Update ECP-authenticated HTTPS requests (#3997) * workflow: update ECP-authenticated HTTPS requests closes #3995 * ciecplib -> Optional. SWIG -> docker setup * Add to various tests * Resolve mac issue (probably not) * Try this Co-authored-by: Ian Harry <ian.harry@ligo.org> 28 April 2022, 14:40:50 UTC
5ac8642 Generalizing ifos tag in pycbc_make_bank_verifier_workflow (#4007) 28 April 2022, 09:27:47 UTC
f1866fc fix typo in marginalized phase docs (#4008) 28 April 2022, 06:56:31 UTC
b3c9891 Adding test of pycbc_multi_inspiral face-on/-away (#3933) * Adding test of pycbc_multi_inspiral face-on/-away * faceon script minor tweaks * Add PyGRB test to test suite * Minor tweak to faceon_faceaway check * Adding GW170817 example * 170817 test hardened * Removing test urls from shell scripts 25 April 2022, 15:00:48 UTC
91b9ae5 Add chisq cut to pycbc_multi_inspiral (#3989) * First attempt at newsnr cut function * Added call to rw snr cut + None case handled * Rewrote newsnr cut for efficiency 25 April 2022, 14:09:11 UTC
2e43074 More detailed description for GRB sky error func (#2975) * More detailed description for GRB sky error func Also included a new argument to allow for different probability coverage. Default is the same as old hardcoded value of 90%. * Updating Fermi-GBM systematics for GRB sky grids * updating Changes to grb_utils so get_sky_grid_error is correctly called * Removing precision argument no longer needed in get_sky_grid_scale * remove whitespace in grb_utils * Fixing indent bug caused by GitHub web interface * Fixing some CodeClimate issues * Remove unused import * Revert "Removing precision argument no longer needed in get_sky_grid_scale" This reverts commit af4e1fa35df98f0955e307b2f5423a9c571b8e99. * CodeClimate * More CodeClimate Co-authored-by: Tessa Carver <tessa.carver@ligo.org> Co-authored-by: tcarver1234 <40335373+tcarver1234@users.noreply.github.com> 25 April 2022, 13:41:45 UTC
d0db604 PyGRB post-processing (#3972) * Placing GRB trigger information at the start of the results webpage and fixing imports in PyGRB post-processing executables * Cleaning up old PyGRB results webpage material * Turning slide_dict into an actual dictionary and using its dictionary powers * Reinserting delete k... 22 April 2022, 10:53:30 UTC
7ea5d3a Remove obsolete codes, put main execs in alphabetical order (#3983) * Remove obsolete codes, put main execs in alphabetical order * verbosity 17 April 2022, 18:59:09 UTC
e2728bd Allow for ifos option with default hdf dataset names (#3977) * Allow for ifos option with default hdf dataset names * missing close quote * Update bin/pycbc_optimal_snr Co-authored-by: Tito Dal Canton <tito.dalcanton@ijclab.in2p3.fr> Co-authored-by: Tito Dal Canton <tito.dalcanton@ijclab.in2p3.fr> 15 April 2022, 17:56:30 UTC
1e041b6 PyCBC Live doc and logging improvements (#3991) * Improve docs for --max-triggers-in-batch * Correct memory usage estimate; add docstring * Use ppdets() more liberally * Missing bits * Correct (?) a docstring * Document --sync and --increment options * Try to fix circular import (?) * Try this? * This WILL work! (?) * Ok nevermind. THIS will work. (?) 15 April 2022, 09:00:45 UTC
dfb7749 Add function to reconstruct marginalized distance or polarization, feature added to script (#3998) * add distance marginalization to relative bin model * fixes and add in phase marginalization option * cc * add method to reconstruct distance posterior * add reconstruction of polarization and distance * update script, various fixes * fix * fixes * fixes * fixes * CC * Update pycbc_inference_model_stats 11 April 2022, 21:41:14 UTC
2a25f7e Remove automatic transforms from waveform generator (#3327) * remove automatic transforms from cbc generator * add a check for cartesian spins in the base model * fix typos, more descriptive message * update docs * typo in error message * whitespace 11 April 2022, 20:15:46 UTC
d513a92 add distance marginalization to relative model + phase options (#3996) * add distance marginalization to relative bin model * fixes and add in phase marginalization option * cc 11 April 2022, 20:15:30 UTC
39341aa fix checkpointing after recent dynesty API change (#3999) * fix checkpointing after recent dynesty API change * CC 11 April 2022, 19:17:38 UTC
1f472da similar to PR #3922 but for splitinj (#3994) * pycbc_make_bank_verifier_workflow reads ifo_list instead of assuming one; fixed pycbc_split_inspinj compatipility of lsctables column names * made the suggested changes Co-authored-by: Lorenzo Piccari <lorenzo.piccari@ldas-pcdev1.ligo.caltech.edu> 07 April 2022, 20:27:57 UTC
a9b3e39 make rounding more precise in a few places, allow read_frame be less sensitive to eps dt diffs (#3993) 07 April 2022, 13:44:28 UTC
bc45bb1 fix distributions import error (#3988) 01 April 2022, 12:37:21 UTC
0106316 fix for dynesty reflect rename (#3985) * fix for dynesty reflect rename * more fixes * remove debug 31 March 2022, 20:24:46 UTC
0771589 remove future imports (#3981) * remove future imports * more examples * cc * cc 31 March 2022, 09:09:41 UTC
25eeefb banish the six library (#3979) * remove six * a few more places * this library is not used atm * CC * CC * updates * poke * reinstate check * fix * cc 29 March 2022, 09:32:42 UTC
a4d5888 html folder location (#3980) 28 March 2022, 14:46:24 UTC
7a0558e Remove what seem to be legacy/unused sections (#3978) 24 March 2022, 17:07:47 UTC
dcf5a76 Remove unused sections from example ini (#3976) Neither 'strip_injections' nor 'inj_cut' seem to be used in the current standard injection workflow. Remove their sections to avoid confusion 24 March 2022, 13:44:50 UTC
4da4e02 Allow default ranking stat as in sngl minifollowup (#3973) 18 March 2022, 20:08:19 UTC
5d7e133 Update Dockerfile (#3793) LIGO hosts Jupyterlab instances which are really useful. These run on underlying kernels, and the PyCBC releases should be one of those. Running these kernels from this Docker image (or using a conda/CVMFS build) seems to be the preferred solution. Adding in two additional dependencies to facilitate this as requested. (I'll check with with Philippe Grassia who requested this before wanting to merge). 18 March 2022, 19:23:52 UTC
52644c5 fix psd from txt (#3935) * force vals[0] to be `low_freq_cutoff` * update * fix cc issue * update: fix Marlin's issue * fix cc issue * modify the code according to Marlin's suggestion * use same `kmin` method in `get_cutoff_indices` * use two end points to fill (one sample) * use logging.warn() * fix cc issues * fix cc issues 18 March 2022, 19:22:48 UTC
2069831 Patching ptf stat for older hdf hist files (#3966) 18 March 2022, 19:21:18 UTC
e16efa0 add in some alternative smoothing methods (#3946) * add in some alternative smoothing methods * Add author, minor edits Co-authored-by: Gareth Davies <gareth.davies@ligo.org> Co-authored-by: Thomas Dent <thomas.dent@usc.es> 18 March 2022, 09:07:53 UTC
1fe198f Un-merged PyGRB post-processing development (#3947) * add cohptf efficiency script add current pylal pygrb efficiency script improve vrebose printing: replace pylal versioning use default python installation * remove calls to pylal functions SimInspiralUtils and git_version remove pylal function get_theta outsource dqSegmentUtils call to pygrb_plotting_utils import segments from ligo (no longer glue). And tidy up zeroLagSlideId code remove MultiInspiralUtils call. Also remove 1/6 pylal.dq.dqHTMLUtils calls remove remaining pylal.dq.dqHTMLUtils uses add commented out pycbc replacement for pylal's get_f_resp * Renamed pygrb_plotting_utils.py; moved/improved option parsing and loading of xml tables * More work on cleaning up pylal_cbc_cohptf_efficiency: reached plots A couple more comments Example with histograms of better use of functions * add imports and correct syntax errors * whitespace removed Indentation issue? Minor updates and comments on pylal_cbc_cohptf_efficiency More cleaning More cleaning remove whitespace Improving help messages of pygrb post-processing tools * Adding a pygrb plotting script developed with Gino that never got committed by accident * Renaming option Improving pygrb post-processing options Improving pygrb post-processing options Improving pygrb post-processing options Removing deprecated option * Mass bins removed from pygrb efficiency calculations! * Improving help in pygrb post-proc * Starting to refactor plot generation in pylal_cbc_cohptf_efficiency as a first step to create independent plotting executables Output file production placed more conveniently. Looping over plots in pylal_cbc_cohptf_efficiency rather than coding them serially Looping over more plots in pylal_cbc_cohptf_efficiency rather than coding them serially Looping over inclination plots in pylal_cbc_cohptf_efficiency rather than coding them serially Fixed x label * Comments improved in pylal_cbc_cohptf_efficiency Moved small blocks of code in pylal_cbc_cohptf_efficiency Moved small blocks of code in pylal_cbc_cohptf_efficiency Fixing incliation txt output Improved inclinations txt output All injection related scatter plots in a single loop * All efficiency/distance calculations are handled by a new function Tidier order for efficiency plots/calculations Cleaner efficiency curve output Comment added Fixed call to logging * [WIP] Replacing pylal_cbc_cohptf_efficiency with 4 independent executables that target different needs * Pylinting More pylinting and use of functions * Fixed bug in time arrays * Removing old naming tag from some variables * Introducing new functions for pygrb post-processing * Introducing new functions to handle loudest SNR/BestNR lists * Exploiting new functions to handle loudest SNR/BestNR lists and renaming scripts * Stripped down version of pycbc_pygrb_plot_stats_distribution! * Stripped down version of pycbc_pygrb_plot_injs_results! * Cleaning up 3 pygrb postprocessing scripts * Exploiting new function to handle MCs on distance * Removing unused matplotlib.cm material Removed 2 unused variables Ensuring pygrb SNR distribution plots start at 0, 1 * pycbc_pygrb_plot_null_stats: import fixed * Updating pycbc_pygrb_pp_workflow before adding new elements to this workflow * Adding explicit output file path options * pycbc_pygrb_plot_stats_distribution no longer loops on statistics to generate all plots but wants the user to choose * pycbc_pygrb_plot_injs_results no longer loops to generate all plots but wants the user to choose a specific plot * Minor updates * Expanding pycbc_pygrb_pp_workflow to handle injection campaigns and offsource loudest event distributions * replace cumbersome and numerous variable names with dictionaries * Pylinting * PyGRB output page handels efficiency plots too now * Simplified pycbc_pygrb_pp_workflow and added support for configuration file and open box tab * Pylinting and resolved an old todo Pylinting Pylinting Pylinting Removing unused output files Removing unused output files Pylinting Adding new option and dumping material for future unit tests Remove unused block of code * Updating option list Shorter injection tables Better captions and some unused variables removed Better captions and some unused variables removed Sky grid caption Note about two other PyGRB output files that we will need to handle * Pylint * Adding backend for qscan followups. * Adding sys.exits * Fixing some arguments * More tables and hdf5 in postprocessing * Cardiff red for PyGRB pages * Logging detail * x-limits enabled in pycbc_pygrb_plot_snr_timeseries * Removing pycbc_pygrb_inj_followup * Better hdf5 handling * Enabling followup of loudest offsource triggers and quiet/missed injections in postproc pygrb workflow * x-limits enabled in pycbc_pygrb_plot_snr_timeseries * Enabling followup of loudest offsource triggers and quiet/missed injections in postproc pygrb workflow * Removing unused script * Wrapper for reading segments Wrapper for reading segments Using wrapper to get GRB trigger time Introducing wrapper for times relative to a central (generally GRB trigger) time Central times of SNR timeseries fixed * Rearranging plot order in follow ups Adding missing import! * Moving most pylal dependencies to a single place * Removing two pylal functions, rewritten here in a vectorize version Removing two more pylal functions/imports Copyright fixes and small changes to functions in pygrb_postprocessing_utils.py * Removing all but one pylal dependencies in the pycbc_pygrb_ scripts and streamlining the way triggers and injections are handled in these same scripts * Pylinting A comment and a space * Shortened pycbc_pygrb_plot_snr_timeseries * One more pylal import gone! Minor fixes Additional option check Comment improvement * One more pylal dependency gone (get_bestnr) One more pylal dependency gone (get_bestnr) * Removed old commented out code; improving comments Cleaning up calls to get_bestnrs Reorganized options of all pycbc_pygrb_* executables * Removed the general PygrbFilterOutput class: single executables load the data they need and not all of it. This makes them all much faster * Adding missing file and removing commented out code * Simplifying contour calculation in PyGRB diagnostic plots * Pylinting Pylinting Pylinting Tidier logging and comments * Minimized the data each executable extracts from input files to produce plots/tables * Better handling of cases/branches * Better import placement in pygrb_plotting_utils.py * Workaround for better devition boundaries in pycbc_pygrb_plot_coh_ifosnr * Better import placement in pygrb_plotting_utils.py * Tidier scripts and some TODOs tackled * Uniformed logging and preables * Adding verbose option * Adding Summary Page Scripts * Attempt to resolve a merge conflict * Attempt to resolve a merge conflict * Attempt to resolve a merge conflict * Removing bin/pygrb/pycbc_pygrb_plot_skygrid now merge conflict is bypassed * Adding back bin/pygrb/pycbc_pygrb_plot_skygrid... * Restoring pycbc/results/pygrb_plotting_utils.py from pylal-be-gone branch * add cohptf efficiency script add current pylal pygrb efficiency script improve vrebose printing: replace pylal versioning use default python installation * remove calls to pylal functions SimInspiralUtils and git_version remove pylal function get_theta outsource dqSegmentUtils call to pygrb_plotting_utils import segments from ligo (no longer glue). And tidy up zeroLagSlideId code remove MultiInspiralUtils call. Also remove 1/6 pylal.dq.dqHTMLUtils calls remove remaining pylal.dq.dqHTMLUtils uses add commented out pycbc replacement for pylal's get_f_resp * Renamed pygrb_plotting_utils.py; moved/improved option parsing and loading of xml tables * More work on cleaning up pylal_cbc_cohptf_efficiency: reached plots A couple more comments Example with histograms of better use of functions * add imports and correct syntax errors * whitespace removed Indentation issue? Minor updates and comments on pylal_cbc_cohptf_efficiency More cleaning More cleaning remove whitespace Improving help messages of pygrb post-processing tools * Adding a pygrb plotting script developed with Gino that never got committed by accident * Renaming option Improving pygrb post-processing options Improving pygrb post-processing options Improving pygrb post-processing options Removing deprecated option * Mass bins removed from pygrb efficiency calculations! * Improving help in pygrb post-proc * Starting to refactor plot generation in pylal_cbc_cohptf_efficiency as a first step to create independent plotting executables Output file production placed more conveniently. Looping over plots in pylal_cbc_cohptf_efficiency rather than coding them serially Looping over more plots in pylal_cbc_cohptf_efficiency rather than coding them serially Looping over inclination plots in pylal_cbc_cohptf_efficiency rather than coding them serially Fixed x label * Comments improved in pylal_cbc_cohptf_efficiency Moved small blocks of code in pylal_cbc_cohptf_efficiency Moved small blocks of code in pylal_cbc_cohptf_efficiency Fixing incliation txt output Improved inclinations txt output All injection related scatter plots in a single loop * All efficiency/distance calculations are handled by a new function Tidier order for efficiency plots/calculations Cleaner efficiency curve output Comment added Fixed call to logging * [WIP] Replacing pylal_cbc_cohptf_efficiency with 4 independent executables that target different needs * Pylinting More pylinting and use of functions * Fixed bug in time arrays * Removing old naming tag from some variables * Introducing new functions for pygrb post-processing * Introducing new functions to handle loudest SNR/BestNR lists * Exploiting new functions to handle loudest SNR/BestNR lists and renaming scripts * Stripped down version of pycbc_pygrb_plot_stats_distribution! * Stripped down version of pycbc_pygrb_plot_injs_results! * Cleaning up 3 pygrb postprocessing scripts * Exploiting new function to handle MCs on distance * Removing unused matplotlib.cm material Removed 2 unused variables Ensuring pygrb SNR distribution plots start at 0, 1 * pycbc_pygrb_plot_null_stats: import fixed * Updating pycbc_pygrb_pp_workflow before adding new elements to this workflow * Adding explicit output file path options * pycbc_pygrb_plot_stats_distribution no longer loops on statistics to generate all plots but wants the user to choose * pycbc_pygrb_plot_injs_results no longer loops to generate all plots but wants the user to choose a specific plot * Minor updates * Expanding pycbc_pygrb_pp_workflow to handle injection campaigns and offsource loudest event distributions * replace cumbersome and numerous variable names with dictionaries * Pylinting * PyGRB output page handels efficiency plots too now * Simplified pycbc_pygrb_pp_workflow and added support for configuration file and open box tab * Pylinting and resolved an old todo Pylinting Pylinting Pylinting Removing unused output files Removing unused output files Pylinting Adding new option and dumping material for future unit tests Remove unused block of code * Updating option list Shorter injection tables Better captions and some unused variables removed Better captions and some unused variables removed Sky grid caption Note about two other PyGRB output files that we will need to handle * Pylint * Adding backend for qscan followups. * Adding sys.exits * Fixing some arguments * More tables and hdf5 in postprocessing * Cardiff red for PyGRB pages * Logging detail * x-limits enabled in pycbc_pygrb_plot_snr_timeseries * Removing pycbc_pygrb_inj_followup * Better hdf5 handling * Enabling followup of loudest offsource triggers and quiet/missed injections in postproc pygrb workflow * x-limits enabled in pycbc_pygrb_plot_snr_timeseries * Enabling followup of loudest offsource triggers and quiet/missed injections in postproc pygrb workflow * Removing unused script * Wrapper for reading segments Wrapper for reading segments Using wrapper to get GRB trigger time Introducing wrapper for times relative to a central (generally GRB trigger) time Central times of SNR timeseries fixed * Rearranging plot order in follow ups Adding missing import! * Moving most pylal dependencies to a single place * Removing two pylal functions, rewritten here in a vectorize version Removing two more pylal functions/imports Copyright fixes and small changes to functions in pygrb_postprocessing_utils.py * Removing all but one pylal dependencies in the pycbc_pygrb_ scripts and streamlining the way triggers and injections are handled in these same scripts * Pylinting A comment and a space * Shortened pycbc_pygrb_plot_snr_timeseries * One more pylal import gone! Minor fixes Additional option check Comment improvement * One more pylal dependency gone (get_bestnr) One more pylal dependency gone (get_bestnr) * Removed old commented out code; improving comments Cleaning up calls to get_bestnrs Reorganized options of all pycbc_pygrb_* executables * Removed the general PygrbFilterOutput class: single executables load the data they need and not all of it. This makes them all much faster * Adding missing file and removing commented out code * Simplifying contour calculation in PyGRB diagnostic plots * Pylinting Pylinting Pylinting Tidier logging and comments * Minimized the data each executable extracts from input files to produce plots/tables * Better handling of cases/branches * Better import placement in pygrb_plotting_utils.py * Workaround for better devition boundaries in pycbc_pygrb_plot_coh_ifosnr * Better import placement in pygrb_plotting_utils.py * Tidier scripts and some TODOs tackled * Uniformed logging and preables * Adding verbose option * Adding Summary Page Scripts * Attempt to resolve a merge conflict * Attempt to resolve a merge conflict * Attempt to resolve a merge conflict * Removing bin/pygrb/pycbc_pygrb_plot_skygrid now merge conflict is bypassed * Adding back bin/pygrb/pycbc_pygrb_plot_skygrid... * Restoring pycbc/results/pygrb_plotting_utils.py from pylal-be-gone branch * Now the conflict is resolved we can revert back to the code changes we wanted * Removing unused scripts; pylint pass through of pygrb_postprocessing_utils.py * Removing another unused script * Code climate * Indentation; glue --> ligo(.lw); removed __future__ imports; better if opts.* else; importing pygrb_plotting_utils as plu and pygrb_postprocessing_utils as ppu * Missed a space before an if * typo breaking import * Incorrect if else assignment and missing import * raising errors; removing obsolete FIXMEs and TODOs * Wrong double parentheses * Undoing changes that were going against PR #3826 * Following up on review requests about raising errors, parser usage, pycbc.init_logging, et al. * USing __doc__ throughout PyGRB postprocessing scripts * Avoiding duplicate/similar lines of code * Fixed broken option help messages * Fixed broken option help messages and indentation * Removing last pylal dependency in the new post-processing and updating the post-processing standalone workflow generator to Pegasus 5 * No longer reassigning parser object when adding options to it * Reintroducing MultiInspiralTable support via glue; Python2 --> Python3 fixes; Pegasus5 fixes; follow up on recent matplotlib warnings * Keeping all xml related imports in try-excepts * Renaming inj-file option found-file throughout the PyGRB post-processing scripts; removing unused import * Updating PyGRB post-processing workflow generators to properly handle input files and to exploit pegasus options already within PyCBC infrastructure * Minor codeclimate changes and switch to logging and sys.exit(0) in pycbc_grb_trig_cluster * Fixed matplotlib imports, an exception, and a few code-climate issues; optimized sngl_snr cut * Some more codeclimate * Fixing Geo support throughout the PyGRB post-procesing; code-climate; pylint * Removing redundant logging error messages; streamlining construct_trials; transferring all files used by pygrb post-processing jobs * Codeclimate * Reducing number of arguments of construct_trials and improving a comment Co-authored-by: “Joseph <“mills.jc@cardiff.ac.uk”> Co-authored-by: Cameron Mills <joseph.mills@ligo.org> Co-authored-by: Michael Patel <michael.patel@LIGO.org> 16 March 2022, 11:25:29 UTC
d01e008 Explicitly log MPI commits and gathers (#3965) 15 March 2022, 13:21:31 UTC
93b429d add setuptools as dependency (#3970) 15 March 2022, 13:15:32 UTC
c3da192 Make merge opt inj work (#3969) * Move to HDF injcombiner * FIx bug * Another bug * Update search example * Update storage level in exe, don't set in the setup function * remove unused import and a historical reference Co-authored-by: Thomas Dent <thomas.dent@usc.es> 12 March 2022, 19:42:19 UTC
0b0fe18 update h5py version (#3967) 11 March 2022, 19:00:40 UTC
4a55bba add warning against spaces in decimation option (#3961) * add warning against spaces in decimation option * fix missing quote 10 March 2022, 17:33:39 UTC
75c23d5 Allow constraints to include fixed parameters (#3958) * Include static params in constraints * Additional change needed * CodeClimate * Updating calls to constraints elsewhere * Fixing doc strings 08 March 2022, 17:57:01 UTC
d3cc040 Fix for py3 dict keys (#3957) * Fix for py3 dict keys * Add minor comments, slight reformat 08 March 2022, 13:14:14 UTC
5ba57dc add DistributionFunctionFromFile class into pycbc.distributions.external (#3906) * add ExternalPopulationPrior class into population_models * fix cc issues * fix cc issues * fix cc issues * fix cc issue * works with external.External(), but still has bugs when reading from .ini * move DistributionFunctionFromFile into external module * fix cc issues * fix cc issues * fix cc issues * fix cc issues * fix cc issues * add example and fix final cc issue * fix cc issue * fix cc issues * fix final cc issue * update code according to Alex's comments * add "external_func_fromfile" into EXCLUDE_DIST_NAMES * fix cc issues * fix cc issues * fix "final" cc issue * update example * modify the code according to Yifan's suggestions * try to fix "duplicate object description" issue * fix cc issue 08 March 2022, 10:45:20 UTC
7cd16ce Update distribution.yml (#3954) * Update distribution.yml * Update distribution.yml 04 March 2022, 02:05:44 UTC
0419129 Moving multi_inspiral utils to coherent module (#3929) * Moving multi_inspiral utils to coherent module * Fix variable name typo in projection matrix func * Addressing a bunch of CodeClimate stuff * Reformatting of coherent.py (with help from black) * Cleaning up pycbc_multi_inspiral formatting * More CodeClimate... * More fixes * Avoid var name 'reweighted_snr' from outer scope * Another CodeClimate issue * Fixing bug with assignment of dict values Values were being assigned to dictionaries (e.g. snr, norm) which were not copies of the matched filter threshold function outputs. Each loop was therefore partially or entirely overwriting previously assigned values. * Docstring and __main__ * init_logging * ValueError -> RuntimeError * Improve end timing message * Typo and improving coinc_idx readability * Use events.ranking.newsnr and don't duplicate it * Fixed bugs in coherent trigs (+null re-weighting) * Add switch to turn null SNR cut on (default: off) * Adding references to coherent func doc strings * Use copy method of arrays rather than copy.copy * Remove __name__ == "__main__" check * Fix implementation of cluster method * Fix CodeClimate issue 03 March 2022, 16:27:31 UTC
4b2fc0d Update setup.py (#3955) 03 March 2022, 15:24:22 UTC
3135d11 Update setup.py (#3953) 02 March 2022, 22:05:59 UTC
a37ef9c Match optimization (#3939) * Added tests for subsample optimization * New subsample_optimization option to match * testing phase retrieval * Corrected phase retrieval testing * Fixed usage of baseline cyclic time shift * Ran black on the match and optimization_match functions * Complying with the 79 character per line limit * Moved optimized match functionality to own function Also renamed the function to optimized_match, and fixed docs accordingly * Matched tests to the new optimized_match API * Ran black on the new function * Ran black on the old, modified match funcion * Ignoring pylint warning about unbalanced tuple unpacking; it is a false positive * Now using norms given by the user, if available * A bodge to solve the pylint false positive * applying the mask to the frequencies as well * New tests for optimized match Now testing: - optimized match with a given PSD (not None) - optimized match with high and low frequency constraints * Conforming optimized_match to pycbc standards - computing the cutoff indices with get_cutoff_indices - computing the normalization with sigmasq - computing the integral with the rectangle rule * Reformatted optimized_match with * Fixed line too long 02 March 2022, 21:51:40 UTC
9a419c8 enable python3.10 (#3903) * enable python3.10 * update setup actions * use quoets * allow for variations in output from python310 * unpin sphinx version * stuff * update for modern sphinx * update * cc * don't forget mac' 01 March 2022, 18:05:38 UTC
274bb03 PSD docs update (#3950) * Added reference to guide in the module docs * Added mention of extrapolation issue to docs This addresses the issue discussed in https://github.com/gwastro/pycbc/issues/3938 * Improved phrasing * Removed trailing whitespace * Update pycbc/psd/analytical.py Co-authored-by: Ian Harry <iwharry@googlemail.com> Co-authored-by: Ian Harry <iwharry@googlemail.com> 28 February 2022, 20:26:46 UTC
eea4feb Fix for CVMFS input issue (#3951) 28 February 2022, 15:30:18 UTC
5808d4e Some fixes to test suite - focused on MACOS usage (#3899) * Some warning fixes * Update tox.ini to work on MacOS properly * Use with numpy.errstate ... Thanks Duncan! * Missed two lines to remove * Seems I now need to explicitly add conda-forge(???) * Set directory permission * Update basic-tests.yml * Testing now * Still testing * Update basic-tests.yml * Testing again * Update basic-tests.yml * Make cache dir global writeable * Update mac-test.yml * Doesn't work with openssl 3 * Update tox.ini * Update conversions.py * Update test_skymax.py 23 February 2022, 11:26:11 UTC
56a56c5 Minimal fix for broken `pycbc_geom_nonspinbank` (#3945) 22 February 2022, 16:31:47 UTC
8fc6d37 revert to standard dqsegdb (#3944) This is an attempt to go back to the standard dqsegdb which I had to fork temporarily to hack in python3 support. My understanding is the last release should support python3, so :crossed_fingers: 22 February 2022, 16:24:42 UTC
38fb7f3 Switch to minimal pegasus api requirement (#3943) * Switch to minimal pegasus api requirement This is an attempt to address the immediate issue of Pegasus having a hard requirement on flask which no longer works due to #3942. In general, it's probably a good idea to keep our dependencies as lean as possible as well. Assuming this passes tests, is there any reason we don't *just* depend on the API? Doe we actually need anything else for the PyCBC library directly? * forgot to change here too * I guess I'll have to do it this way... 22 February 2022, 14:19:25 UTC
6252e3e PyCBC Live: stop uploading PSDs to GraceDB as separate files (#3936) * Stop uploading a separate file for the PSDs * Upload event first, then make plots 22 February 2022, 11:06:04 UTC
55e8b83 Run SNR optimizer in PyCBC Live example/test (#3931) 08 February 2022, 20:07:23 UTC
039ee5e Fix a few issues in `pycbc_optimize_snr` (#3930) * Fix stupid bug in #3927 * Fix for h5py 3.x str -> bytes conversion * Fix redirect for non-Bash shells * Avoid the use of shell redirect altogether 04 February 2022, 11:47:29 UTC
77dc352 Fix in from_ligolw_table (#3923) * Fix in from_ligolw_table Changes in ligo.lw mean tables have columns like process:process_id but corresponding row attributes are only the post-colon part, e.g. process_id * Add comment about split of ligolw *_id cols at ':' 03 February 2022, 17:29:36 UTC
8bfa763 Let `pycbc_optimize_snr` understand scheme and FFT options (#3927) * Add FFT CLI options to `pycbc_optimize_snr` * Bugs * Add processing scheme option and make core tidier * Tell pycbc_live about the changes * Add note about dominant cost 03 February 2022, 16:57:51 UTC
65c123b added Left and Right Circular Projection matrix (#3599) * added Left and Right Circular Projection matrix * make some changes in projection matrix * Deleted the file from the git repository * removed extra commented lines * fix bug in new function denominator term * "added option to save network chi squared in he output hdf file" * replace reweighted-snr with coherent-snr in clustering; added a new argument in null-snr function to avoid null cuts; and removed some extra comments. * Update pycbc_multi_inspiral fix a bracket in pycbc_reweight_snr function * fixed the argparser option for projection type * modify projection matrix function adding left and right projection with a kwargs choice. Modify code before coherent snr calculation * added the option of left_right in projection matrix function and modify code * fixed some typos * minor changes * fixed logging info string formatting operations and use of ValueError rather a message for wrong option inputs * removed extra function of circular polarization * make changes in coding several line for recomended coding * Update bin/pycbc_multi_inspiral Co-authored-by: Andrew R. Williamson <a-r-williamson@users.noreply.github.com> * make some suggested minor chnages in a comment of function and few logging info statments Co-authored-by: Jam Sadiq <jam.sadiq@ldas-pcdev1.ligo.caltech.edu> Co-authored-by: Jam Sadiq <jam.sadiq@ldas-pcdev6.ligo.caltech.edu> Co-authored-by: Andrew R. Williamson <a-r-williamson@users.noreply.github.com> 02 February 2022, 17:26:51 UTC
772643d update page_foreground hdf output to match 4-ogc summary file (#3926) * update page_foreground hdf output to match 4-ogc summary file * codeclimate 01 February 2022, 10:02:59 UTC
d8eb6b3 Fix issues in `pycbc_splitbank` (#3922) * Attempt at fixing #3921 * Also remove a glue import * Also fix #3814 * Ok, I think this does what we want * Fix process_id's, and whitespace * Simpler method to set process end time 31 January 2022, 18:17:26 UTC
41d8cb4 Workaround for pip 22.0.x issue (#3925) * Possible workaround for pip 22.0.x issue * Escape * Test 31 January 2022, 17:04:26 UTC
bc9e223 Make a common PyCBC Live error more informative (#3924) Fixes #3056. 28 January 2022, 19:51:04 UTC
60778e1 Modernize `pycbc_losc_segment_query` (#3916) * Modernize pycbc_losc_segment_query * Codeclimate 27 January 2022, 12:49:15 UTC
f19a5cc pycbc.types: fix all SyntaxWarning (#3918) use `==` to compare string literals 25 January 2022, 13:34:05 UTC
67135ab use shutil.which instead of distutils.spawn.find_executable (#3919) distutils is dying 25 January 2022, 13:29:13 UTC
9591805 move h_iterations check (#3914) 21 January 2022, 11:50:49 UTC
40e4306 pycbc.waveform: allow .h5 and .hdf5 extensions for TemplateBank (#3915) since .hdf is ambiguous with HDF4 files 21 January 2022, 11:45:55 UTC
1e1c855 Remove matplotlib.use('Agg') from library code (#3912) * Remove matplotlib.use('Agg') from library code * whitespace complaint 13 January 2022, 20:14:28 UTC
6762191 Fix pycbc_make_inference_inj_workflow (#3911) * make the injection workflow consistent with the Pegasus 5 features * remove more incompatibilities * change to workflow name instead of main 12 January 2022, 16:25:02 UTC
2f773a0 Update setup.py (#3908) Prepare for v2.0.1 release 06 January 2022, 15:40:15 UTC
a6ffedb Update docker_build_dist.sh (#3909) Need rsync when pushing to OSG. 06 January 2022, 15:39:58 UTC
bf00c1c Documentation for `pycbc_condition_strain` (#3892) * Initial documentation for `pycbc_condition_strain` * Perhaps a less confusing name * Better * Finish up * Better make this clear * Forgot the multi-ifo 06 January 2022, 14:08:49 UTC
4c2ac8c don't set profile within jobsetup (#3905) 06 January 2022, 14:01:01 UTC
a43feb8 avoid a few floating point precission issues (#3904) 06 January 2022, 13:56:34 UTC
375fe22 remove explicit subworkflow dependency (#3855) * remove explicit subworkflow dependency * update 06 January 2022, 13:55:33 UTC
acc1963 add population_models module into pycbc.population (#3854) * delete, duplicate with utils.py file * move MD2014 SFR into pycbc.population.population_models module * add population_models module into __init__.py * add first version of population_models.py * move 'rate_from_redshift' & 'distance_from_rate' to population_models * add 'rate_from_redshift' and 'distance_from_rate' functions & fix some codeclimate issues * add sympy>=1.9 * add functions in population modue * include population.population_models * address issues in unit and codeclimate * fix codeclimate issues * sympy>=1.9 * add sympy>=1.9 * disable latex * just import necessary modules from sympy * update * test * add maxz for distance_from_rate function * optimize & distance_from_rate() finally works * fix negative value issue & interpolation issue * fix codeclimate issues * fix codeclimate issues * fix cc issues * change npoints * update * try to install matplotlib earlier than sympy * init_printing(use_latex=False) * add latex * test: try to see what will happen when not import sympy * test: install matplotlib after sympy, also comment out "import sympy" * update * pl.rcParams.update({"text.usetex": False}) * update the note in distance_from_rate * configure file not work yet * fix bug in _create_interpolant() * matplotlib.rcParams['text.usetex'] = False * fix cc issues * fix cc issues * matplotlib.rcParams['text.usetex'] = False * don't add sympy has hard requirement, minor api changes * remove rcParams['text.usetex'] = False * move sympy into companion.txt * debug & polish * fix cc issues * Update __init__.py * Merge branch 'master' into population_dev * fix conflicts * test: add back init_printing(use_latex=False) * test: init_printing(use_latex='matplotlib') * remove init_printing() * set 'text.usetex': False in fgmc_functions.py * fix "No module named 'pycbc.events.eventmgr_cython'" * make it usable by pycbc_create_injections * fix cc issue * test: try to fix the issue in "basic tests " * reduce blank lines * add ExternalPopulationPrior * go back to the previous approved version Co-authored-by: Alexander Harvey Nitz <alex.nitz@gmail.com> 03 January 2022, 14:54:31 UTC
c5c9a10 made pycbc_make_inference_plots_workflow compatible with Pegasus 5 an… (#3902) * made pycbc_make_inference_plots_workflow compatible with Pegasus 5 and made the plot_prior optional in inference_followups.py * fixed the codeclimate issues * fixed the codeclimate issues * fixed the codeclimate issues * fixed the codeclimate issues * fixed the codeclimate issues * fixed the codeclimate issues * fixed the codeclimate issues * fixed the codeclimate issues * fixed the codeclimate issues Co-authored-by: Shilpa Kastha <shilpa.kastha@condor1.atlas.local> 23 December 2021, 14:19:47 UTC
0bb2754 Integration of pygrb aligntotalspin functionality into pycbc/transforms.py as a class (#3756) * added first version of aligntotalspin class to transforms.py * fully functional (uncommented) aligntotalspin class added to tranforms.py * Reformatted transforms.py and performed a number of small modifications as requested (removing comments, restructuring multi-line statements, removing second numpy import) * Update pycbc/transforms.py Co-authored-by: Andrew R. Williamson <a-r-williamson@users.noreply.github.com> * Update pycbc/transforms.py Co-authored-by: Andrew R. Williamson <a-r-williamson@users.noreply.github.com> * Fixing bugs I introduced in AlignTotalSpin. * Correcting output when no-/aligned-spins passed * Following standard input/output param handling * Fix typo * Adding the transform to dict for config use * Make frame transform work on sets of inputs * Moved jframe_to_l0frame function to pnutils.py from waveform_modes.py. May need to do the same for i0frame_to_jframe * Moved l0frame_to_jframe function from waveform_modes to pnutils * made alterations to ensure my added and moved code is compliant with code checks * made alterations to ensure transforms.py to make compliant with code checks * made alterations to ensure transforms.py is compliant with code checks * made alterations to ensure transforms.py is compliant with code checks * made alterations to ensure transforms.py is compliant with code checks * made alterations to ensure transforms.py is compliant with code checks * attempting fix for like 2299 of transforms.py * Removed _formatdocstr lines in pnutils * Updated docstrings in l0frame_to_jframe and jframe_to_i0frame functions to fit expected formatting * added data type labels to docstrings * added blank line under dictionary header in docstrings for jframe_to_I0frme and it's sibling function Co-authored-by: Samuel Higginbotham <samuel.higginbotham@ligo.org> Co-authored-by: Andrew R. Williamson <a-r-williamson@users.noreply.github.com> Co-authored-by: Andrew Williamson <andrew.williamson@ligo.org> 17 December 2021, 16:22:40 UTC
4e8c89c Update matchedfilter.py (#3891) * Update matchedfilter.py Improve documentation as highlighted in #3888 and #3887 * Fix CC 15 December 2021, 20:21:36 UTC
acb6edb Fix ligolw.py for new release of ligo.lw (#3901) * Fix ligolw.py for new release of ligo.lw * MANY places where we used removed get_table func * Some ilwds to remove * Try this? * Run PyCBC live only for python >=3.8 * Don't do this one either * Add comment * Avoid broken lalsuite version 14 December 2021, 15:58:48 UTC
back to top