How to use the hendrics.lcurve.main function in hendrics

To help you get started, we’ve selected a few hendrics examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github StingraySoftware / dave / src / main / python / utils / dave_bulk.py View on Github external
if plot_config["class"] == "LcPlot":

                    args = ['--outdir', plot_config_outdir]
                    args.extend(['--bintime', str(dt)])

                    args = add_filter_to_args(args, filters, CONFIG.TIME_COLUMN, '--safe-interval')
                    args = add_filter_to_args(args, filters, "PI", '--pi-interval')
                    args = add_filter_to_args(args, filters, "E", '--e-interval')
                    #args = add_filter_to_args(args, filters, "PHA", '--pha-interval')
                    #args = add_filter_to_args(args, filters, "RATE", '--rate-interval')

                    args.extend(filenames)

                    logging.debug("Calling MPlcurve, args: " + str(args))

                    MPlcurve(args)

                    push_plotconfig_results(results["plot_configs"], plot_config["id"], plot_config_outdir)


                elif plot_config["class"] == "PDSPlot":

                    logging.error("PDSPlot not supported yet, still work in progress!!")

                    ''' TO MANY QUESTIONS OPENED FOR IMPLEMENT PDS ON BULK ANALYSIS
                    args = ['--outdir', plot_config_outdir]

                    args.extend(['--kind', "PDS"])
                    args.extend(['--bintime', str(dt)])

                    # Normalization: MaltPyn supports Leahy or rms, now DAVE sends leahy, frac, abs or none
                    args.extend(['--norm', str(plot_config["norm"])])

hendrics

"High ENergy Data Reduction Interface from the Command Shell"

BSD-2-Clause
Latest version published 9 days ago

Package Health Score

72 / 100
Full package analysis