Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
cogwheel 1.6.0 documentation
cogwheel 1.6.0 documentation

Contents:

  • Installation
  • Crash course
  • Overview
  • Full API
    • cogwheel
      • cogwheel.cosmology
        • cogwheel.cosmology.comoving_to_luminosity_diff_vt_ratio
        • cogwheel.cosmology.z_of_d_luminosity
      • cogwheel.data
        • cogwheel.data.download_timeseries
        • cogwheel.data.fill_hole_consecutive
        • cogwheel.data.fill_holes_bruteforce
        • cogwheel.data.highpass_filter
        • cogwheel.data.make_asd_func
        • cogwheel.data.EventData
        • cogwheel.data.DataError
      • cogwheel.gw_plotting
        • cogwheel.gw_plotting.CornerPlot
        • cogwheel.gw_plotting.MultiCornerPlot
      • cogwheel.gw_prior
        • cogwheel.gw_prior.combined
          • cogwheel.gw_prior.combined.AlignedSpinIASPrior
          • cogwheel.gw_prior.combined.AlignedSpinIASPriorComovingVT
          • cogwheel.gw_prior.combined.AlignedSpinLVCPrior
          • cogwheel.gw_prior.combined.AlignedSpinLVCPriorComovingVT
          • cogwheel.gw_prior.combined.CartesianIASPrior
          • cogwheel.gw_prior.combined.CartesianIntrinsicIASPrior
          • cogwheel.gw_prior.combined.ExtrinsicParametersPrior
          • cogwheel.gw_prior.combined.IASPrior
          • cogwheel.gw_prior.combined.IASPriorComovingVT
          • cogwheel.gw_prior.combined.IntrinsicAlignedSpinIASPrior
          • cogwheel.gw_prior.combined.IntrinsicAlignedSpinLVCPrior
          • cogwheel.gw_prior.combined.IntrinsicIASPrior
          • cogwheel.gw_prior.combined.IntrinsicLVCPrior
          • cogwheel.gw_prior.combined.IntrinsicVolumetricSpinPrior
          • cogwheel.gw_prior.combined.LVCPrior
          • cogwheel.gw_prior.combined.LVCPriorComovingVT
          • cogwheel.gw_prior.combined.MarginalizedDistanceAndPhaseIASPrior
          • cogwheel.gw_prior.combined.MarginalizedDistanceIASPrior
          • cogwheel.gw_prior.combined.MarginalizedDistanceLVCPrior
          • cogwheel.gw_prior.combined.PNIntrinsicVolumetricSpinPrior
          • cogwheel.gw_prior.combined.ReferenceWaveformFinderMixin
          • cogwheel.gw_prior.combined.RegisteredPriorMixin
          • cogwheel.gw_prior.combined.TidalIASPrior
          • cogwheel.gw_prior.combined.ConditionedPriorError
        • cogwheel.gw_prior.extrinsic
          • cogwheel.gw_prior.extrinsic.IsotropicInclinationPrior
          • cogwheel.gw_prior.extrinsic.IsotropicSkyLocationPrior
          • cogwheel.gw_prior.extrinsic.ReferenceDetectorMixin
          • cogwheel.gw_prior.extrinsic.UniformComovingVolumePrior
          • cogwheel.gw_prior.extrinsic.UniformLuminosityVolumePrior
          • cogwheel.gw_prior.extrinsic.UniformPhasePrior
          • cogwheel.gw_prior.extrinsic.UniformPolarizationPrior
          • cogwheel.gw_prior.extrinsic.UniformTimePrior
        • cogwheel.gw_prior.mass
          • cogwheel.gw_prior.mass.UniformDetectorFrameMassesPrior
        • cogwheel.gw_prior.miscellaneous
          • cogwheel.gw_prior.miscellaneous.FixedIntrinsicParametersPrior
          • cogwheel.gw_prior.miscellaneous.FixedReferenceFrequencyPrior
          • cogwheel.gw_prior.miscellaneous.LogarithmicReferenceFrequencyPrior
          • cogwheel.gw_prior.miscellaneous.ZeroTidalDeformabilityPrior
        • cogwheel.gw_prior.pn
          • cogwheel.gw_prior.pn.PNCoordinatesPrior
        • cogwheel.gw_prior.spin
          • cogwheel.gw_prior.spin.CartesianUniformDiskInplaneSpinsIsotropicInclinationPrior
          • cogwheel.gw_prior.spin.IsotropicSpinsAlignedComponentsPrior
          • cogwheel.gw_prior.spin.IsotropicSpinsInplaneComponentsIsotropicInclinationPrior
          • cogwheel.gw_prior.spin.IsotropicSpinsInplaneComponentsIsotropicInclinationSkyLocationPrior
          • cogwheel.gw_prior.spin.UniformDiskInplaneSpinsIsotropicInclinationPrior
          • cogwheel.gw_prior.spin.UniformDiskInplaneSpinsIsotropicInclinationSkyLocationPrior
          • cogwheel.gw_prior.spin.UniformEffectiveSpinPrior
          • cogwheel.gw_prior.spin.VolumetricSpinsAlignedComponentsPrior
          • cogwheel.gw_prior.spin.ZeroInplaneSpinsPrior
        • cogwheel.gw_prior.tides
          • cogwheel.gw_prior.tides.UniformTidalDeformabilitiesBNSPrior
        • cogwheel.gw_prior.twosquircle
          • cogwheel.gw_prior.twosquircle.TwoSquircularMapping
      • cogwheel.gw_utils
        • cogwheel.gw_utils.chieff
        • cogwheel.gw_utils.detector_travel_times
        • cogwheel.gw_utils.eta_to_q
        • cogwheel.gw_utils.fplus_fcross
        • cogwheel.gw_utils.get_fplus_fcross_0
        • cogwheel.gw_utils.get_geocenter_delays
        • cogwheel.gw_utils.isco_frequency
        • cogwheel.gw_utils.m1m2_to_mchirp
        • cogwheel.gw_utils.mchirpeta_to_m1m2
        • cogwheel.gw_utils.mchirpeta_to_mtot
        • cogwheel.gw_utils.q_to_eta
        • cogwheel.gw_utils.time_delay_from_geocenter
      • cogwheel.likelihood
        • cogwheel.likelihood.likelihood
          • cogwheel.likelihood.likelihood.check_bounds
          • cogwheel.likelihood.likelihood.hole_edges
          • cogwheel.likelihood.likelihood.std_from_median
          • cogwheel.likelihood.likelihood.CBCLikelihood
        • cogwheel.likelihood.marginalization
          • cogwheel.likelihood.marginalization.base
            • cogwheel.likelihood.marginalization.base.BaseCoherentScore
            • cogwheel.likelihood.marginalization.base.BaseCoherentScoreHM
            • cogwheel.likelihood.marginalization.base.MarginalizationInfo
            • cogwheel.likelihood.marginalization.base.MarginalizationInfoHM
            • cogwheel.likelihood.marginalization.base.ProposingCoherentScore
          • cogwheel.likelihood.marginalization.coherent_score_hm
            • cogwheel.likelihood.marginalization.coherent_score_hm.CoherentScoreHM
          • cogwheel.likelihood.marginalization.coherent_score_qas
            • cogwheel.likelihood.marginalization.coherent_score_qas.CoherentScoreQAS
          • cogwheel.likelihood.marginalization.lookup_table
            • cogwheel.likelihood.marginalization.lookup_table.clear_cache_if_outdated
            • cogwheel.likelihood.marginalization.lookup_table.comoving_distance_prior
            • cogwheel.likelihood.marginalization.lookup_table.euclidean_distance_prior
            • cogwheel.likelihood.marginalization.lookup_table.LookupTable
            • cogwheel.likelihood.marginalization.lookup_table.LookupTableMarginalizedPhase22
          • cogwheel.likelihood.marginalization.skydict
            • cogwheel.likelihood.marginalization.skydict.SkyDictionary
        • cogwheel.likelihood.marginalized_distance
          • cogwheel.likelihood.marginalized_distance.MarginalizedDistanceLikelihood
        • cogwheel.likelihood.marginalized_distance_phase
          • cogwheel.likelihood.marginalized_distance_phase.MarginalizedDistancePhaseLikelihood
        • cogwheel.likelihood.marginalized_extrinsic
          • cogwheel.likelihood.marginalized_extrinsic.BaseMarginalizedExtrinsicLikelihood
          • cogwheel.likelihood.marginalized_extrinsic.MarginalizedExtrinsicLikelihood
        • cogwheel.likelihood.marginalized_extrinsic_qas
          • cogwheel.likelihood.marginalized_extrinsic_qas.MarginalizedExtrinsicLikelihoodQAS
        • cogwheel.likelihood.reference_waveform_finder
          • cogwheel.likelihood.reference_waveform_finder.ReferenceWaveformFinder
        • cogwheel.likelihood.relative_binning
          • cogwheel.likelihood.relative_binning.BaseLinearFree
          • cogwheel.likelihood.relative_binning.BaseRelativeBinning
          • cogwheel.likelihood.relative_binning.RelativeBinningLikelihood
      • cogwheel.plotting
        • cogwheel.plotting.gen_colors
        • cogwheel.plotting.gen_linestyles
        • cogwheel.plotting.get_contour_fractions
        • cogwheel.plotting.get_midpoints
        • cogwheel.plotting.get_transparency_colormap
        • cogwheel.plotting.latex_val_err
        • cogwheel.plotting.CornerPlot
        • cogwheel.plotting.LatexLabels
        • cogwheel.plotting.MultiCornerPlot
        • cogwheel.plotting.PlotStyle
      • cogwheel.pn_coordinates
        • cogwheel.pn_coordinates.chieff_from_mtot_fmerger
        • cogwheel.pn_coordinates.get_f_merger
        • cogwheel.pn_coordinates.unique_qr
        • cogwheel.pn_coordinates.IntrinsicParameterProposal
        • cogwheel.pn_coordinates.TruncatedDistribution
        • cogwheel.pn_coordinates.UnphysicalMtotFmerger
      • cogwheel.posterior
        • cogwheel.posterior.main
        • cogwheel.posterior.submit_likelihood_maximization
        • cogwheel.posterior.Posterior
        • cogwheel.posterior.PosteriorError
      • cogwheel.postprocessing
        • cogwheel.postprocessing.main
        • cogwheel.postprocessing.postprocess_eventdir
        • cogwheel.postprocessing.postprocess_rundir
        • cogwheel.postprocessing.submit_postprocess_eventdir_slurm
        • cogwheel.postprocessing.submit_postprocess_rundir_slurm
        • cogwheel.postprocessing.EventdirPostprocessor
        • cogwheel.postprocessing.RundirPostprocessor
      • cogwheel.prior
        • cogwheel.prior.check_inheritance_order
        • cogwheel.prior.has_compatible_signature
        • cogwheel.prior.CombinedPrior
        • cogwheel.prior.FixedPrior
        • cogwheel.prior.IdentityTransformMixin
        • cogwheel.prior.Prior
        • cogwheel.prior.UniformPriorMixin
        • cogwheel.prior.UnitJacobianMixin
        • cogwheel.prior.PriorError
      • cogwheel.prior_ratio
        • cogwheel.prior_ratio.PriorRatio
      • cogwheel.sampling
        • cogwheel.sampling.main
        • cogwheel.sampling.Dynesty
        • cogwheel.sampling.Nautilus
        • cogwheel.sampling.PyMultiNest
        • cogwheel.sampling.Sampler
        • cogwheel.sampling.Zeus
      • cogwheel.skyloc_angles
        • cogwheel.skyloc_angles.cart3d_to_latlon
        • cogwheel.skyloc_angles.cart3d_to_thetaphi
        • cogwheel.skyloc_angles.get_rotation_matrix
        • cogwheel.skyloc_angles.latlon_to_cart3d
        • cogwheel.skyloc_angles.lon_to_ra
        • cogwheel.skyloc_angles.normalize
        • cogwheel.skyloc_angles.ra_to_lon
        • cogwheel.skyloc_angles.thetaphi_to_cart3d
        • cogwheel.skyloc_angles.x_rotation_matrix
        • cogwheel.skyloc_angles.z_rotation_matrix
        • cogwheel.skyloc_angles.SkyLocAngles
      • cogwheel.tests
        • cogwheel.tests.test_gw_utils
          • cogwheel.tests.test_gw_utils.AntennaCoefficientsTestCase
        • cogwheel.tests.test_plotting
          • cogwheel.tests.test_plotting.MultiCornerPlotTestCase
        • cogwheel.tests.test_skyloc_angles
          • cogwheel.tests.test_skyloc_angles.instantiate_skyloc
          • cogwheel.tests.test_skyloc_angles.SkyLocAnglesTestCase
      • cogwheel.utils
        • cogwheel.utils.clear_caches
        • cogwheel.utils.exp_normalize
        • cogwheel.utils.get_eventdir
        • cogwheel.utils.get_priordir
        • cogwheel.utils.get_rundir
        • cogwheel.utils.handle_scalars
        • cogwheel.utils.import_lal
        • cogwheel.utils.lru_cache
        • cogwheel.utils.merge_dictionaries_safely
        • cogwheel.utils.mkdirs
        • cogwheel.utils.mod
        • cogwheel.utils.n_effective
        • cogwheel.utils.quantile
        • cogwheel.utils.read_json
        • cogwheel.utils.real_matmul
        • cogwheel.utils.replace
        • cogwheel.utils.resample_equal
        • cogwheel.utils.rundir_number
        • cogwheel.utils.sorted_rundirs
        • cogwheel.utils.submit_condor
        • cogwheel.utils.submit_lsf
        • cogwheel.utils.submit_slurm
        • cogwheel.utils.temporarily_change_attributes
        • cogwheel.utils.update_dataframe
        • cogwheel.utils.weighted_avg_and_std
        • cogwheel.utils.ClassProperty
        • cogwheel.utils.CogwheelDecoder
        • cogwheel.utils.CogwheelEncoder
        • cogwheel.utils.InitDictMixin
        • cogwheel.utils.JSONMixin
        • cogwheel.utils.NumpyEncoder
      • cogwheel.validation
        • cogwheel.validation.load_config
        • cogwheel.validation.analyze
          • cogwheel.validation.analyze.credible_interval
          • cogwheel.validation.analyze.get_credible_intervals
          • cogwheel.validation.analyze.get_n_effectives
          • cogwheel.validation.analyze.get_runtimes
          • cogwheel.validation.analyze.pp_plot
        • cogwheel.validation.generate_injections
          • cogwheel.validation.generate_injections.generate_injections_from_config
          • cogwheel.validation.generate_injections.main
          • cogwheel.validation.generate_injections.test_h_h_distribution
        • cogwheel.validation.inference
          • cogwheel.validation.inference.get_rundir
          • cogwheel.validation.inference.main
          • cogwheel.validation.inference.make_corner_plot
          • cogwheel.validation.inference.submit_slurm
        • cogwheel.validation.injection_prior
          • cogwheel.validation.injection_prior.AlignedSpinIASInjectionPrior
          • cogwheel.validation.injection_prior.IASInjectionPrior
          • cogwheel.validation.injection_prior.VolumetricInjectionPrior
      • cogwheel.waveform
        • cogwheel.waveform.compute_hplus_hcross
        • cogwheel.waveform.compute_hplus_hcross_by_mode
        • cogwheel.waveform.inplane_spins_xy_n_to_xy
        • cogwheel.waveform.inplane_spins_xy_to_xy_n
        • cogwheel.waveform.within_bounds
        • cogwheel.waveform.Approximant
        • cogwheel.waveform.WaveformGenerator
      • cogwheel.waveform_models
  • Acknowledgment
Back to top
View this page

cogwheel.tests.test_gw_utilsΒΆ

Tests for the gw_utils module.

Classes

AntennaCoefficientsTestCase

Tests for computation of fplus, fcross.

Next
cogwheel.tests.test_gw_utils.AntennaCoefficientsTestCase
Previous
cogwheel.tests
Copyright © 2024, Javier Roulet
Made with Sphinx and @pradyunsg's Furo