galfitools package¶
Subpackages¶
- galfitools.batch package
- Submodules
- galfitools.batch.batchGetBT module
- galfitools.batch.batchGetBarSize module
- galfitools.batch.batchGetBreak module
- galfitools.batch.batchGetKappa module
- galfitools.batch.batchGetMeRad module
- galfitools.batch.batchGetN module
- galfitools.batch.batchGetReComp module
- galfitools.batch.batchGetSlope module
- galfitools.batch.batchSersic2Ferrer module
- galfitools.batch.batch_galfit module
- Features
- Exit status
JobResultProgressTrackerbatch_galfit()expand_path()group_files_by_directory()log()normalize_executable()parse_args()print_failure_details()print_streams()print_summary()read_list_file()run_directory_group()run_galfit()run_parallel()run_serial()validate_input_files()write_summary_csv()
- Module contents
- galfitools.config package
- galfitools.desi package
- Submodules
- galfitools.desi.central_ellipse module
build_selected_mask()central_ellipse()estimate_component_center()maincentralEllipse()normalize_angle_180()pixel_is_selected()ray_radius()read_first_image_hdu()refine_major_angle()search_best_major_angle()select_central_component()symmetric_radii()write_component_mask()write_ds9_ellipse_region()
- galfitools.desi.decam2sdss module
- galfitools.desi.download_legacy_products module
- galfitools.desi.get_seg_value module
- galfitools.desi.megamask module
- galfitools.desi.transform_ds9_ellipse module
- Module contents
- galfitools.galin package
- Submodules
- galfitools.galin.MakeMask module
- galfitools.galin.MakePSF module
- galfitools.galin.MaskDs9 module
- galfitools.galin.MaskSky module
- galfitools.galin.bestInputParam module
- galfitools.galin.checkGalFile module
HeadInfoHeadInfo.PHeadInfo.constraintsHeadInfo.constraintsflagHeadInfo.convxHeadInfo.convxflagHeadInfo.convyHeadInfo.convyflagHeadInfo.displayHeadInfo.inputimageHeadInfo.inputimageflagHeadInfo.maskimageHeadInfo.maskimageflagHeadInfo.mgzptHeadInfo.outimageHeadInfo.outimageflagHeadInfo.psfimageHeadInfo.psfimageflagHeadInfo.psfsampHeadInfo.scaleHeadInfo.scaleyHeadInfo.sigimageHeadInfo.sigimageflagHeadInfo.xmaxHeadInfo.xminHeadInfo.xsizeflagHeadInfo.ymaxHeadInfo.yminHeadInfo.ysizeflag
checkFile()copy2info()
- galfitools.galin.exp2edge module
- galfitools.galin.galfit module
DataImgGalCompsGalComps.AbsMagGalComps.ActiveGalComps.AxRatGalComps.AxRatFreeGalComps.ExpGalComps.Exp2GalComps.Exp2FreeGalComps.Exp3GalComps.Exp3FreeGalComps.ExpFreeGalComps.FluxGalComps.KronRadGalComps.LumGalComps.MagGalComps.MagFreeGalComps.NGalComps.NameCompGalComps.PerLightGalComps.PetRadGalComps.PosAngGalComps.PosAngFreeGalComps.PosXGalComps.PosXFreeGalComps.PosYGalComps.PosYFreeGalComps.RadGalComps.Rad50GalComps.Rad50kpcGalComps.Rad50secGalComps.Rad90GalComps.RadFreeGalComps.SerIndGalComps.kserGalComps.meGalComps.mmeGalComps.skip
GalHeadGalHead.PGalHead.constraintsGalHead.convxGalHead.convyGalHead.displayGalHead.exptimeGalHead.flagidxGalHead.flagnumGalHead.imgidxGalHead.inputimageGalHead.maskimageGalHead.mgzptGalHead.numGalHead.outimageGalHead.psfimageGalHead.psfsampGalHead.scaleGalHead.scaleyGalHead.sigimageGalHead.stampmaskGalHead.xmaxGalHead.xminGalHead.ymaxGalHead.ymin
GalSkyGalfitGetRadAng()SelectComp()SelectGal()conver2Edge()conver2Ferrer()conver2Sersic()expdisk_to_edgedisk()galPrintComp()galPrintHeader()galPrintSky()galPrintallComp()galfitLastFit()numComps()numParFree()numParSkyFree()readDataImg()
- galfitools.galin.getBoxSizeDs9 module
- galfitools.galin.getInputBand module
- galfitools.galin.getSersic module
- galfitools.galin.getStar module
- galfitools.galin.imarith module
- galfitools.galin.initgal module
- galfitools.galin.sersic2ferrer module
- galfitools.galin.std module
- galfitools.galin.supermask module
- galfitools.galin.tosersic module
- galfitools.galin.xy2fits module
- Module contents
- galfitools.galout package
- Submodules
- galfitools.galout.PhotDs9 module
- galfitools.galout.average_fitlog module
LogHeaderMeasurementParameterKeyParameterLineParameterStatisticsParameterStatistics.combined_errorParameterStatistics.formal_error_on_meanParameterStatistics.keyParameterStatistics.maximumParameterStatistics.meanParameterStatistics.minimumParameterStatistics.number_of_fitsParameterStatistics.scatter_error_on_meanParameterStatistics.scatter_standard_deviationParameterStatistics.toggle
build_parser()calculate_parameter_statistics()circular_deviation()circular_mean()extract_log_header()extract_number_tokens()extract_numbers()format_parameter_value()get_parameter_names()group_results_by_component()main_meanParamUncer()parse_entry()print_results()split_entries()validate_headers()write_component()write_csv()write_galfit_file()
- galfitools.galout.clean_fitlog module
- galfitools.galout.fitlog2csv module
- galfitools.galout.galfit_stats_to_csv module
- galfitools.galout.galfit_table_corrector module
- galfitools.galout.getBT module
- galfitools.galout.getBarSize module
- galfitools.galout.getCOW module
- galfitools.galout.getCOWds9 module
- galfitools.galout.getChiNu module
- galfitools.galout.getMeRad module
- galfitools.galout.getMissingLight module
- galfitools.galout.getN module
- galfitools.galout.getNds9 module
- galfitools.galout.getPeak module
- galfitools.galout.getRads module
- galfitools.galout.magcorr module
- galfitools.galout.magedgedisk module
- galfitools.galout.magferrer module
- galfitools.galout.showcube module
- galfitools.galout.split_components module
- galfitools.galout.split_galfit_output module
- Module contents
- galfitools.mge package
- Submodules
- galfitools.mge.SbProf module
ConfigConfig.AextConfig.centerConfig.dpivalConfig.dplotConfig.ds9regConfig.exptimeConfig.gridConfig.imageConfig.logxConfig.maskConfig.mgzptConfig.minlevelConfig.namesecConfig.outputConfig.pargConfig.pixConfig.qargConfig.radConfig.rad2Config.ranxConfig.ranyConfig.scaleConfig.sectorsConfig.skylevelConfig.xcConfig.yc
DataImgEllipSectors()FindSB()PlotSB()SectPhot()readDataImg()sbProf()sect2xy()
- galfitools.mge.mge2galfit module
- galfitools.mge.sersic2mge module
GalfitGaussianComponentGaussianFluxComponentSersic2mge()SersicParameterschoose_sigma_grid()combined_gaussian_profile()conver2mge()convert_to_galfit_gaussians()fit_sersic_with_flux_conservation()format_galfit_gaussian_block()gaussian_profile_from_flux()gaussian_unit_flux_profile()magnitude_from_flux()print_summary()sersic_bn()sersic_ie_from_total_flux()sersic_profile()sigma_to_fwhm()total_flux_from_magnitude()total_magnitude_of_gaussians()
- Module contents
- galfitools.shell package
- Submodules
- galfitools.shell.commands_galin module
- galfitools.shell.commands_galout module
mainFWHM()mainFitlog2CSV()mainGetBarSize()mainGetBreak()mainGetBreak2()mainGetBulgeRad()mainGetMeRad()mainGetReComp()mainKappa()mainKappa2()mainMissingLight()mainPhotDs9()mainShowCube()maingetBT()maingetCOW()maingetCOWds9()maingetChiNu()maingetN()maingetNds9()maingetPeak()maingetSlope()mainmagCorr()
- galfitools.shell.commands_mge module
- galfitools.shell.commands_sim module
- galfitools.shell.commands_sky module
- galfitools.shell.prt module
- Module contents
- galfitools.sim package
- Submodules
- galfitools.sim.MakeSim module
- galfitools.sim.create_galfit_mocks module
- galfitools.sim.create_galfit_sky_mocks module
box_vertices()clean_extension_header()compute_extra_sigma_map()convert_noise_map_to_sigma()create_mock_images()create_sky_realization()estimate_sky_level()find_valid_block_origins()infer_noise_map_kind()load_2d_fits_image()mainGalfitSkyMock()parse_arguments()parse_ds9_box_regions()physical_to_image_coordinates()polygon_to_mask()read_region_mask()select_block_size()transform_square_block()
- Module contents
- galfitools.sky package