Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Commit

Permalink
Merge pull request #15 from alercebroker/forced_photometry
Browse files Browse the repository at this point in the history
Super merge of many branches!
  • Loading branch information
ignacioreyes authored Aug 9, 2021
2 parents da0de73 + 014d9dc commit 02d015f
Show file tree
Hide file tree
Showing 17 changed files with 312 additions and 192 deletions.
2 changes: 1 addition & 1 deletion data_examples/100_objects_features.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Amplitude_1,Amplitude_2,AndersonDarling_1,AndersonDarling_2,Autocor_length_1,Autocor_length_2,Beyond1Std_1,Beyond1Std_2,Con_1,Con_2,Eta_e_1,Eta_e_2,ExcessVar_1,ExcessVar_2,GP_DRW_sigma_1,GP_DRW_sigma_2,GP_DRW_tau_1,GP_DRW_tau_2,Gskew_1,Gskew_2,Harmonics_mag_1_1,Harmonics_mag_1_2,Harmonics_mag_2_1,Harmonics_mag_2_2,Harmonics_mag_3_1,Harmonics_mag_3_2,Harmonics_mag_4_1,Harmonics_mag_4_2,Harmonics_mag_5_1,Harmonics_mag_5_2,Harmonics_mag_6_1,Harmonics_mag_6_2,Harmonics_mag_7_1,Harmonics_mag_7_2,Harmonics_mse_1,Harmonics_mse_2,Harmonics_phase_2_1,Harmonics_phase_2_2,Harmonics_phase_3_1,Harmonics_phase_3_2,Harmonics_phase_4_1,Harmonics_phase_4_2,Harmonics_phase_5_1,Harmonics_phase_5_2,Harmonics_phase_6_1,Harmonics_phase_6_2,Harmonics_phase_7_1,Harmonics_phase_7_2,IAR_phi_1,IAR_phi_2,LinearTrend_1,LinearTrend_2,MHPS_PN_flag_1,MHPS_PN_flag_2,MHPS_high_1,MHPS_high_2,MHPS_low_1,MHPS_low_2,MHPS_non_zero_1,MHPS_non_zero_2,MHPS_ratio_1,MHPS_ratio_2,MaxSlope_1,MaxSlope_2,Mean_1,Mean_2,Meanvariance_1,Meanvariance_2,MedianAbsDev_1,MedianAbsDev_2,MedianBRP_1,MedianBRP_2,Multiband_period,PairSlopeTrend_1,PairSlopeTrend_2,PercentAmplitude_1,PercentAmplitude_2,Period_band_1,Period_band_2,Period_fit,Power_rate_1/2,Power_rate_1/3,Power_rate_1/4,Power_rate_2,Power_rate_3,Power_rate_4,Psi_CS_1,Psi_CS_2,Psi_eta_1,Psi_eta_2,Pvar_1,Pvar_2,Q31_1,Q31_2,Rcs_1,Rcs_2,SF_ML_amplitude_1,SF_ML_amplitude_2,SF_ML_gamma_1,SF_ML_gamma_2,SPM_A_1,SPM_A_2,SPM_beta_1,SPM_beta_2,SPM_chi_1,SPM_chi_2,SPM_gamma_1,SPM_gamma_2,SPM_t0_1,SPM_t0_2,SPM_tau_fall_1,SPM_tau_fall_2,SPM_tau_rise_1,SPM_tau_rise_2,Skew_1,Skew_2,SmallKurtosis_1,SmallKurtosis_2,Std_1,Std_2,StetsonK_1,StetsonK_2,delta_mag_fid_1,delta_mag_fid_2,delta_mjd_fid_1,delta_mjd_fid_2,delta_period_1,delta_period_2,dmag_first_det_fid_1,dmag_first_det_fid_2,dmag_non_det_fid_1,dmag_non_det_fid_2,first_mag_1,first_mag_2,g-r_max,g-r_max_corr,g-r_mean,g-r_mean_corr,gal_b,gal_l,iqr_1,iqr_2,last_diffmaglim_before_fid_1,last_diffmaglim_before_fid_2,last_mjd_before_fid_1,last_mjd_before_fid_2,max_diffmaglim_after_fid_1,max_diffmaglim_after_fid_2,max_diffmaglim_before_fid_1,max_diffmaglim_before_fid_2,mean_mag_1,mean_mag_2,median_diffmaglim_after_fid_1,median_diffmaglim_after_fid_2,median_diffmaglim_before_fid_1,median_diffmaglim_before_fid_2,min_mag_1,min_mag_2,n_det_1,n_det_2,n_neg_1,n_neg_2,n_non_det_after_fid_1,n_non_det_after_fid_2,n_non_det_before_fid_1,n_non_det_before_fid_2,n_pos_1,n_pos_2,positive_fraction_1,positive_fraction_2,rb,sgscore1,objectId,r-W2,g-W3,g-W2,W1-W2,r-W3,W2-W3
Amplitude_1,Amplitude_2,AndersonDarling_1,AndersonDarling_2,Autocor_length_1,Autocor_length_2,Beyond1Std_1,Beyond1Std_2,Con_1,Con_2,Eta_e_1,Eta_e_2,ExcessVar_1,ExcessVar_2,GP_DRW_sigma_1,GP_DRW_sigma_2,GP_DRW_tau_1,GP_DRW_tau_2,Gskew_1,Gskew_2,Harmonics_mag_1_1,Harmonics_mag_1_2,Harmonics_mag_2_1,Harmonics_mag_2_2,Harmonics_mag_3_1,Harmonics_mag_3_2,Harmonics_mag_4_1,Harmonics_mag_4_2,Harmonics_mag_5_1,Harmonics_mag_5_2,Harmonics_mag_6_1,Harmonics_mag_6_2,Harmonics_mag_7_1,Harmonics_mag_7_2,Harmonics_mse_1,Harmonics_mse_2,Harmonics_phase_2_1,Harmonics_phase_2_2,Harmonics_phase_3_1,Harmonics_phase_3_2,Harmonics_phase_4_1,Harmonics_phase_4_2,Harmonics_phase_5_1,Harmonics_phase_5_2,Harmonics_phase_6_1,Harmonics_phase_6_2,Harmonics_phase_7_1,Harmonics_phase_7_2,IAR_phi_1,IAR_phi_2,LinearTrend_1,LinearTrend_2,MHPS_PN_flag_1,MHPS_PN_flag_2,MHPS_high_1,MHPS_high_2,MHPS_low_1,MHPS_low_2,MHPS_non_zero_1,MHPS_non_zero_2,MHPS_ratio_1,MHPS_ratio_2,MaxSlope_1,MaxSlope_2,Mean_1,Mean_2,Meanvariance_1,Meanvariance_2,MedianAbsDev_1,MedianAbsDev_2,MedianBRP_1,MedianBRP_2,Multiband_period,PairSlopeTrend_1,PairSlopeTrend_2,PercentAmplitude_1,PercentAmplitude_2,Period_band_1,Period_band_2,PPE,Power_rate_1/2,Power_rate_1/3,Power_rate_1/4,Power_rate_2,Power_rate_3,Power_rate_4,Psi_CS_1,Psi_CS_2,Psi_eta_1,Psi_eta_2,Pvar_1,Pvar_2,Q31_1,Q31_2,Rcs_1,Rcs_2,SF_ML_amplitude_1,SF_ML_amplitude_2,SF_ML_gamma_1,SF_ML_gamma_2,SPM_A_1,SPM_A_2,SPM_beta_1,SPM_beta_2,SPM_chi_1,SPM_chi_2,SPM_gamma_1,SPM_gamma_2,SPM_t0_1,SPM_t0_2,SPM_tau_fall_1,SPM_tau_fall_2,SPM_tau_rise_1,SPM_tau_rise_2,Skew_1,Skew_2,SmallKurtosis_1,SmallKurtosis_2,Std_1,Std_2,StetsonK_1,StetsonK_2,delta_mag_fid_1,delta_mag_fid_2,delta_mjd_fid_1,delta_mjd_fid_2,delta_period_1,delta_period_2,dmag_first_det_fid_1,dmag_first_det_fid_2,dmag_non_det_fid_1,dmag_non_det_fid_2,first_mag_1,first_mag_2,g-r_max,g-r_max_corr,g-r_mean,g-r_mean_corr,gal_b,gal_l,iqr_1,iqr_2,last_diffmaglim_before_fid_1,last_diffmaglim_before_fid_2,last_mjd_before_fid_1,last_mjd_before_fid_2,max_diffmaglim_after_fid_1,max_diffmaglim_after_fid_2,max_diffmaglim_before_fid_1,max_diffmaglim_before_fid_2,mean_mag_1,mean_mag_2,median_diffmaglim_after_fid_1,median_diffmaglim_after_fid_2,median_diffmaglim_before_fid_1,median_diffmaglim_before_fid_2,min_mag_1,min_mag_2,n_det_1,n_det_2,n_neg_1,n_neg_2,n_non_det_after_fid_1,n_non_det_after_fid_2,n_non_det_before_fid_1,n_non_det_before_fid_2,n_pos_1,n_pos_2,positive_fraction_1,positive_fraction_2,rb,sgscore1,objectId,r-W2,g-W3,g-W2,W1-W2,r-W3,W2-W3
0.1847861223402738,0.18329213490761465,0.9999999999997672,0.9999957454076224,1.0,1.0,0.42105263157894735,0.3125,0.0,0.0,2.5200905088444165,0.236970335074376,7.599779169413887e-05,7.414382061015316e-05,0.01985532705886585,0.018951328146949404,0.060737513430383076,0.06416701303259678,-0.006247546517762714,-0.18480978473689905,0.15092745759814868,110.02109649644785,0.101499086332541,66.05119612802964,0.012768015365845514,65.59016959305274,0.07124113961259476,69.01509741838548,0.011291468695388504,21.252297698457888,0.04042044520948768,30.49391423927243,0.01950591978355113,10.16214949666948,0.0002642291061116623,7.710669475857046e-05,6.027932135371245,5.362076870291219,5.271459126327022,6.236868519899308,2.494613048726274,5.3817007976493345,2.3518411639398242,5.667117179086005,5.313739893311468,5.415589360929557,5.4863550468234585,4.318019791473759,5.708363206414406e-13,4.23006300668309e-13,-1.4339224567437635e-05,6.74008215900598e-05,0.0,0.0,0.018238455058340108,0.00799392187567782,0.15967577102436942,0.052944255473899006,15.0,9.0,8.754895659397018,6.6230639099671915,0.262131988449166,4.33514854402211,16.173914053287337,15.756108908671456,0.008764372928569998,0.008641655618024472,0.14432553689810845,0.053086056122441334,0.0,0.375,0.17365328267032729,0.03333333333333333,-0.16666666666666666,0.011654935998565166,0.01742325827865446,0.17365328267032729,0.17365328267032729,0.2403572075253961,0.0004309444921091199,0.006017439067363739,0.0054738158360123634,0.0019838805310428143,0.001704959198832512,0.0034411814995110035,0.26800874378773104,0.27728105596764985,0.4062295128913664,1.057157299351708,1.0,1.0,0.27075851122502925,0.2833521499828411,0.1815772387640222,0.21252300285888948,0.20158927859346326,0.09384660705105304,-0.003634517265152346,-0.1570165803139893,0.392096949217984,0.6164656594858551,0.1673341276395466,0.001072660088746416,24.99625462156796,45.03273100056224,95.0221621278174,99.98641276008448,45.5237804641116,49.93570633236594,99.49642657128298,99.99989534901951,74.09602231901299,93.8252719181775,0.01658232146913771,-0.6307815091389083,-1.852315599563113,-1.1255038879828445,0.14175421447764935,0.1361588670688261,0.972271499493168,0.9606739291369351,0.37686674661330605,0.3665842698152293,657.0326272998936,448.8810300999321,0.0,0.0,,4.4941941941916586,,4.553490579232856,16.300149953336902,15.7551058088601,0.5219135284423828,0.4435215772705892,0.4859104909394922,0.4178051446158797,14.8075444846312,165.85326756262162,0.27075851122502925,0.2833521499828411,,20.24930000305176,,58429.34318289999,20.82379913330078,20.5674991607666,,20.623699188232425,16.173914053287337,15.756108908671456,19.918201446533203,19.775049209594727,,20.101299285888672,15.991330283926404,15.547808706655815,38.0,16.0,19.0,11.0,50.0,104.0,0.0,15.0,19.0,5.0,0.5,0.3125,0.8814286,1.0,ZTF17aaaorfd,1.5841089086714533,3.597914053287333,2.001914053287333,-0.025000000000000355,3.1801089086714533,1.596
0.0768744312540548,0.39152482004859657,0.6831278825294034,1.0,1.0,9.0,0.375,0.4423076923076923,0.0,0.0,2.113466466322389,0.01178993397690406,-1.2816411584912208e-06,0.00027643419550259907,2.207450955150825e-08,0.06593835844793203,2.5302103133229177,162.61558185799416,-0.022277098105256243,-0.4288187975711466,31442.40099434245,0.18255140822724675,29328.20450835393,0.2251882369343573,8313.032265765307,0.08678266991782843,39976.545195292434,0.06939989228293142,16141.673967088691,0.03881292363447481,52003.37370193119,0.06891547948390142,19739.239893700294,0.022813798516702743,5.574404090691676e-19,0.00986994382911578,4.831312028408269,3.2872070732909444,6.035231941997735,4.386264448362922,4.816880169341042,4.8888441620380885,3.4131988559402267,4.385615229097262,4.8946415262068035,5.055095009641024,0.21173054965214175,5.862257806583841,4.23006300668309e-13,0.994077936040158,0.0024409278411346197,-0.00023712057642231202,1.0,0.0,0.001018394136187716,0.0017118510319278435,0.012581723567326704,1.143585089937278,7.0,97.0,12.35447369564152,668.0400739364577,0.09934120931912503,3.3873477458497336,19.17842079242048,16.511142953081073,0.0027821137924059717,0.016741358606444767,0.04088299676222462,0.15213691394651366,0.0,0.36538461538461536,238.095325778974,-0.03333333333333333,0.03333333333333333,0.00458793967323289,0.03952024400494565,0.05338743003240486,238.095325778974,0.07421453957235136,0.5425070524215698,0.010686641559004784,0.042101651430130005,0.636576771736145,0.636576771736145,0.04735799133777618,0.25353086859952845,0.4341897645389253,3.0565081582319764,0.2874218395596849,0.5979704019080225,1.0,0.08132853577734167,0.5210366545676735,0.25353086859952845,0.3240550837941668,0.5426487310828025,1.3391452284540168,0.7055641992529936,0.8147340018767678,0.06980835169321163,0.6566848428701321,0.4782465558672941,0.0008586666933960707,0.1543171087139365,39.196948499149045,5.8992222368054055,41.79989196036564,9.814595966506436,-30.51343683365705,70.75386708979794,99.72461498370666,8.355164626013893,99.99999999702378,-0.21598888985365167,-0.4018703678228067,-0.6679464848704457,-1.5492613919383469,0.053356549003158484,0.2764189651798037,0.9215629036404748,0.9490705037542349,0.1537488625081096,0.8536210826538237,31.99873849982396,806.8091897997074,238.0419383489416,0.0,0.18661861207494468,,1.11081108618869,,19.153082086777594,16.713768100444266,2.908411026000977,3.0901883046751597,2.279795628327591,2.667277839339405,-0.6409777972878586,85.82303949762938,0.08132853577734167,0.5210366545676735,19.33970069885254,,58593.48759259983,,21.339599609375,22.577899932861328,21.171899795532227,,19.17842079242048,16.511142953081073,20.535200119018555,20.173999786376953,20.206350326538086,,19.095539240349396,16.005350935674233,8.0,104.0,0.0,63.0,120.0,68.0,64.0,0.0,8.0,41.0,1.0,0.3942307692307692,0.7121428000000001,0.9475,ZTF17aaawcwz,9.535142953081078,12.758420792420482,12.202420792420483,0.06899999999999995,10.091142953081077,0.556
0.1870722583270457,0.18108491960815165,0.9999998537581466,0.9999982800232409,1.0,1.0,0.3636363636363637,0.5,0.0,0.0,0.009104526161519844,0.02433845372728035,7.078609200122459e-05,6.090336902610995e-05,0.01973617670114536,0.014741293539275325,0.5458304709422214,0.790212370974669,-0.03737812321997325,-0.16896952154382916,0.2336561300790012,0.2681939798773721,0.11459344878528642,0.0860188887971683,0.18047270248401084,0.0977199712548794,0.13876780041848585,0.1207362189368915,0.11930692076379805,0.06374352034459524,0.061114648089531674,0.042974548664157314,0.03589224411050535,0.033075529862010684,0.0006501054389595184,0.0004152582215747007,4.524492685324264,3.650969660334411,3.112556585617476,1.2710556598055742,1.2723645329163524,4.755228126115451,6.0412167590908,1.5596407400887669,4.028754134481337,6.181622916243602,2.9532538122315337,2.8393228510426236,0.16078407845023668,0.31770005079543223,0.00019375918014897085,0.00012550995576181967,0.0,0.0,0.062205136618809415,0.04360350212656399,0.02554956828970798,0.03995081984714981,16.0,16.0,0.4107308444039712,0.9162296122726136,4.132741003160085,0.3819188630755029,16.730168695154735,15.473625642258947,0.008495660463349292,0.007835253949152994,0.13259661110003407,0.07048779694264162,0.0,0.3928571428571429,1.179523200916328,0.1,-0.03333333333333333,0.013273536190830763,0.017533646791340892,0.8635577751678015,1.179523200916328,0.052228240606331584,0.0384167768061161,0.03256992623209953,0.023717757314443588,0.045937210321426385,0.003801713697612285,0.02772214449942112,0.304874501912348,0.3751546694649276,0.6715409855515565,0.5954308487875158,1.0,1.0,0.26596193153615744,0.2521699255099126,0.19277849569613206,0.21185256540750164,0.11342973902100935,0.2358696597834109,-0.15973424328697075,0.2005128547636489,0.2915577182007008,1.1561600320887404,3.489786397353322e-05,0.0004039826001670688,7.72636450904276,36.897115682557654,99.98922501489359,99.9865635637772,49.999972430963496,49.93191612331974,99.99997126885332,99.99941631632784,66.34377486096389,27.156022809022932,-0.0466032675875726,-0.6481797493769326,-1.7810827849270572,-0.8578891399882953,0.1421338327285901,0.12123978642122445,0.9819568724565778,0.8860106044735659,0.4066135172567229,0.3750755204124836,437.8199537000619,457.8905902998522,0.3159654257485266,0.0,2.9595956685586344,,2.9840522867942028,,16.619503986592733,15.478122283113027,1.059335708618164,1.260404794342449,1.1857645232956138,1.2565430528957882,-19.646047384080727,210.1620013670784,0.26596193153615744,0.2521699255099126,19.579099655151367,,58462.35259260005,,20.517900466918945,20.429399490356445,19.579099655151367,,16.730168695154735,15.473625642258947,19.51409912109375,19.91399955749512,19.48674964904785,,16.50269736225365,15.242292567911198,22.0,28.0,11.0,20.0,28.0,25.0,2.0,0.0,11.0,8.0,0.5,0.2857142857142857,0.8307143,0.996667,ZTF17aaawthq,4.048625642258946,5.226168695154735,5.305168695154734,0.12899999999999956,3.969625642258947,-0.07899999999999885
Expand Down
Loading

0 comments on commit 02d015f

Please sign in to comment.