text:
Joint} {Replacements}},
	url = {http://biomechanical.asmedigitalcollection.asme.org/article.aspx?doi=10.1115/1.1372701},
	doi = {10.1115/1.1372701},
	language = {en},
	number = {3},
	urldate = {2016-09-02},
	journal = {Journal of Biomechanical Engineering},
	author = {Williams, Brian J.},
	month = jan,
	year = {2001},
	pages = {239},
	file = {jbme-2.pdf:/Users/cmey/Zotero/storage/NZCDTHI9/jbme-2.pdf:application/pdf}
}

@article{twiss_what_2016,
	title = {What is an {Abstract}?},
	url = {http://www.indiana.edu/~ereg444/What%20is%20an%20abstract.doc},
	urldate = {2016-09-02},
	author = {Twiss, R. J.},
	month = sep,
	year = {2016},
	file = {How to Write Research Abstract.pdf:/Users/cmey/Zotero/storage/LJ4AC9JB/How to Write Research Abstract.pdf:application/pdf}
}

@book{mcrobbie_mri_2006,
	address = {Cambridge, UK; New York},
	title = {{MRI} from picture to proton},
	isbn = {978-0-511-34944-7 978-0-511-34849-5},
	url = {http://www.SLQ.eblib.com.au/patron/FullRecord.aspx?p=321131},
	abstract = {Presents the basics of MR practice and theory as the practitioner first meets them.},
	language = {English},
	urldate = {2016-09-02},
	publisher = {Cambridge University Press},
	author = {McRobbie, Donald W},
	year = {2006},
	file = {DWMcROBBIE_picture_proton_book.pdf:/Users/cmey/Zotero/storage/57ATLJ7A/DWMcROBBIE_picture_proton_book.pdf:application/pdf}
}

@inproceedings{mccabe_cause_2014,
	title = {Cause and amelioration of {MRI}-induced heating through medical implant lead wires},
	url = {http://researchcommons.waikato.ac.nz/handle/10289/8886},
	urldate = {2016-09-02},
	booktitle = {21st {Electronics} {New} {Zealand} {Conference} ({ENZCon})},
	author = {McCabe, Steven Owen and Scott, Jonathan B.},
	year = {2014},
	file = {CauseAndAmeliorationOfMRIinducedHeatingOfMedicalimplantWires-McCabeScott.pdf:/Users/cmey/Zotero/storage/7LFQGWJI/CauseAndAmeliorationOfMRIinducedHeatingOfMedicalimplantWires-McCabeScott.pdf:application/pdf}
}

@article{bottomley_designing_2010,
	title = {Designing passive {MRI}-safe implantable conducting leads with electrodes},
	volume = {37},
	issn = {00942405},
	url = {http://scitation.aip.org/content/aapm/journal/medphys/37/7/10.1118/1.3439590},
	doi = {10.1118/1.3439590},
	language = {en},
	number = {7},
	urldate = {2016-09-02},
	journal = {Medical Physics},
	author = {Bottomley, Paul A. and Kumar, Ananda and Edelstein, William A. and Allen, Justin M. and Karmarkar, Parag V.},
	year = {2010},
	pages = {3828}
}

@article{neufeld_measurement_2009,
	title = {Measurement, simulation and uncertainty assessment of implant heating during {MRI}},
	volume = {54},
	issn = {0031-9155, 1361-6560},
	url = {http://stacks.iop.org/0031-9155/54/i=13/a=012?key=crossref.97948664c3c029b01eaf9d79b5d392ff},
	doi = {10.1088/0031-9155/54/13/012},
	number = {13},
	urldate = {2016-09-02},
	journal = {Physics in Medicine and Biology},
	author = {Neufeld, E and Kühn, S and Szekely, G and Kuster, N},
	month = jul,
	year = {2009},
	pages = {4151--4169},
	file = {VALIDATION_SIMU_neufeld _ Measurement, simulation and uncertainty assessment of implant heating during MRI.pdf:/Users/cmey/Zotero/storage/PURU426D/VALIDATION_SIMU_neufeld _ Measurement, simulation and uncertainty assessment of implant heating during MRI.pdf:application/pdf}
}

@article{shinbane_magnetic_2011-1,
	title = {Magnetic resonance imaging in patients with cardiac pacemakers: era of" {MR} {Conditional}" designs},
	volume = {13},
	shorttitle = {Magnetic resonance imaging in patients with cardiac pacemakers},
	url = {http://jcmr-online.biomedcentral.com/articles/10.1186/1532-429X-13-63},
	number = {1},
	urldate = {2016-09-02},
	journal = {Journal of Cardiovascular Magnetic Resonance},
	author = {Shinbane, Jerold S. and Colletti, Patrick M. and Shellock, Frank G.},
	year = {2011},
	pages = {1},
	file = {Shinbane_MRICardiacPM.pdf:/Users/cmey/Zotero/storage/HVPGZIXK/Shinbane_MRICardiacPM.pdf:application/pdf}
}

@article{talcoth_electromagnetic_2011,
	title = {Electromagnetic modeling and design of medical implants and devices},
	url = {http://publications.lib.chalmers.se/publication/149505-electromagnetic-modeling-and-design-of-medical-implants-and-devices?pubid=148537},
	urldate = {2016-09-02},
	author = {Talcoth, Oskar},
	year = {2011},
	file = {overview.pdf:/Users/cmey/Zotero/storage/EXBUWH9J/overview.pdf:application/pdf}
}

@article{nazarian_magnetic_2013,
	title = {Magnetic {Resonance} {Imaging} and {Implantable} {Devices}},
	volume = {6},
	issn = {1941-3149, 1941-3084},
	url = {http://circep.ahajournals.org/cgi/doi/10.1161/CIRCEP.113.000116},
	doi = {10.1161/CIRCEP.113.000116},
	language = {en},
	number = {2},
	urldate = {2016-09-02},
	journal = {Circulation: Arrhythmia and Electrophysiology},
	author = {Nazarian, S. and Beinart, R. and Halperin, H. R.},
	month = apr,
	year = {2013},
	pages = {419--428},
	file = {Nazarian_CirculationArrhythmiaElectrophysiology.pdf:/Users/cmey/Zotero/storage/UTZWDX7E/Nazarian_CirculationArrhythmiaElectrophysiology.pdf:application/pdf}
}

@article{nazarian_prospective_2011,
	title = {A prospective evaluation of a protocol for magnetic resonance imaging of patients with implanted cardiac devices},
	volume = {155},
	url = {http://annals.org/article.aspx?articleid=477644},
	number = {7},
	urldate = {2016-09-02},
	journal = {Annals of internal medicine},
	author = {Nazarian, Saman and Hansford, Rozann and Roguin, Ariel and Goldsher, Dorith and Zviman, Menekhem M. and Lardo, Albert C. and Caffo, Brian S. and Frick, Kevin D. and Kraut, Michael A. and Kamel, Ihab R. and {others}},
	year = {2011},
	pages = {415--424},
	file = {Nazarian_AProspectiveEvaluation.pdf:/Users/cmey/Zotero/storage/DRBHS6HD/Nazarian_AProspectiveEvaluation.pdf:application/pdf}
}

@inproceedings{diao_study_2014,
	title = {Study of effects of commercial shielding products attached to mobile phone on human body with implanted medical device},
	url = {http://ieeexplore.ieee.org/xpls/abs_all.jsp?arnumber=6997178},
	urldate = {2016-09-02},
	booktitle = {Electromagnetic {Compatibility}, {Tokyo} ({EMC}'14/{Tokyo}), 2014 {International} {Symposium} on},
	publisher = {IEEE},
	author = {Diao, Y. L. and Sun, W. N. and Chan, K. H. and Leung, S. W. and Siu, Y. M.},
	year = {2014},
	pages = {226--229},
	file = {MobilePhoneAIMD.pdf:/Users/cmey/Zotero/storage/BSX2YJ4T/MobilePhoneAIMD.pdf:application/pdf}
}

@article{ferreira_mri-conditional_2014,
	title = {{MRI}-conditional pacemakers: current perspectives},
	issn = {1179-1470},
	shorttitle = {{MRI}-conditional pacemakers},
	url = {http://www.dovepress.com/mri-conditional-pacemakers-current-perspectives-peer-reviewed-article-MDER},
	doi = {10.2147/MDER.S44063},
	language = {en},
	urldate = {2016-09-02},
	journal = {Medical Devices: Evidence and Research},
	author = {Ferreira, António Miguel and Costa, Francisco and Marques, Hugo and Cardim, Nuno and Tralhao, Antonio and Adragao, Pedro},
	month = may,
	year = {2014},
	pages = {115},
	file = {MDER-44063-mri-conditional-pacemakers---current-perspectives_050714.pdf:/Users/cmey/Zotero/storage/7A3GC4FV/MDER-44063-mri-conditional-pacemakers---current-perspectives_050714.pdf:application/pdf}
}

@article{mattei_numerical_2010,
	title = {Numerical {Model} for {Estimating} {RF}-{Induced} {Heating} on a {Pacemaker} {Implant} {During} {MRI}: {Experimental} {Validation}},
	volume = {57},
	issn = {0018-9294},
	shorttitle = {Numerical {Model} for {Estimating} {RF}-{Induced} {Heating} on a {Pacemaker} {Implant} {During} {MRI}},
	url = {http://ieeexplore.ieee.org/lpdocs/epic03/wrapper.htm?arnumber=5416293},
	doi = {10.1109/TBME.2010.2043102},
	number = {8},
	urldate = {2016-09-02},
	journal = {IEEE Transactions on Biomedical Engineering},
	author = {Mattei, Eugenio and Calcagnini, Giovanni and Censi, Federica and Triventi, Michele and Bartolini, Pietro},
	month = aug,
	year = {2010},
	pages = {2045--2052},
	file = {Mattei2010_experimental_Validation_pacemaker_simulation.pdf:/Users/cmey/Zotero/storage/5T4T495U/Mattei2010_experimental_Validation_pacemaker_simulation.pdf:application/pdf}
}

@article{langman_pacemaker_2011,
	title = {Pacemaker lead tip heating in abandoned and pacemaker-attached leads at 1.5 tesla {MRI}},
	volume = {33},
	issn = {10531807},
	url = {http://doi.wiley.com/10.1002/jmri.22463},
	doi = {10.1002/jmri.22463},
	language = {en},
	number = {2},
	urldate = {2016-09-02},
	journal = {Journal of Magnetic Resonance Imaging},
	author = {Langman, Deborah A. and Goldberg, Ira B. and Finn, J. Paul and Ennis, Daniel B.},
	month = feb,
	year = {2011},
	pages = {426--431},
	file = {langman.pdf:/Users/cmey/Zotero/storage/4LAX9K9F/langman.pdf:application/pdf}
}

@article{kangarlu_effects_2005,
	title = {Effects of coil dimensions and field polarization on {RF} heating inside a head phantom},
	volume = {23},
	issn = {0730725X},
	url = {http://linkinghub.elsevier.com/retrieve/pii/S0730725X04003212},
	doi = {10.1016/j.mri.2004.11.007},
	language = {en},
	number = {1},
	urldate = {2016-09-02},
	journal = {Magnetic Resonance Imaging},
	author = {Kangarlu, Alayar and Ibrahim, Tamer S. and Shellock, Frank G.},
	month = jan,
	year = {2005},
	pages = {53--60},
	file = {Kangarlu.2005.Mag.Res.Imag.pdf:/Users/cmey/Zotero/storage/P9UL7XK8/Kangarlu.2005.Mag.Res.Imag.pdf:application/pdf}
}

@article{irnich_we_2005,
	title = {Do we need pacemakers resistant to magnetic resonance imaging?},
	volume = {7},
	issn = {10995129},
	url = {http://europace.oxfordjournals.org/cgi/doi/10.1016/j.eupc.2005.02.120},
	doi = {10.1016/j.eupc.2005.02.120},
	language = {en},
	number = {4},
	urldate = {2016-09-02},
	journal = {Europace},
	author = {Irnich, W and Irnich, B and Bartsch, C and Stertmann, W and Gufler, H and Weiler, G},
	month = jul,
	year = {2005},
	pages = {353--365},
	file = {DoWeNeedPM_MR.pdf:/Users/cmey/Zotero/storage/GSLSWTXZ/DoWeNeedPM_MR.pdf:application/pdf}
}

@article{cohen_permanent_2001,
	title = {Permanent {Epicardial} {Pacing} in {Pediatric} {Patients} : {Seventeen} {Years} of {Experience} and 1200 {Outpatient} {Visits}},
	volume = {103},
	issn = {0009-7322, 1524-4539},
	shorttitle = {Permanent {Epicardial} {Pacing} in {Pediatric} {Patients}},
	url = {http://circ.ahajournals.org/cgi/doi/10.1161/01.CIR.103.21.2585},
	doi = {10.1161/01.CIR.103.21.2585},
	language = {en},
	number = {21},
	urldate = {2016-09-02},
	journal = {Circulation},
	author = {Cohen, M. I. and Bush, D. M. and Vetter, V. L. and Tanel, R. E. and Wieand, T. S. and Gaynor, J. W. and Rhodes, L. A.},
	month = may,
	year = {2001},
	pages = {2585--2590},
	file = {Circulation-2001-Cohen-2585-90.pdf:/Users/cmey/Zotero/storage/69IUNSER/Circulation-2001-Cohen-2585-90.pdf:application/pdf}
}

@techreport{talcoth_electromagnetic_2011-1,
	title = {Electromagnetic modeling of pacemaker lead heating during {MRI}},
	url = {http://publications.lib.chalmers.se/publication/149465},
	urldate = {2016-09-02},
	institution = {Chalmers University of Technology},
	author = {Talcoth, Oskar and Rylander, Thomas},
	year = {2011},
	file = {Chalmers_ElectromagneticModelingOfPMLead.pdf:/Users/cmey/Zotero/storage/49T277P2/Chalmers_ElectromagneticModelingOfPMLead.pdf:application/pdf}
}

@article{cabot_evaluation_2013,
	title = {Evaluation of the {RF} heating of a generic deep brain stimulator exposed in 1.5 {T} magnetic resonance scanners},
	volume = {34},
	issn = {01978462},
	url = {http://doi.wiley.com/10.1002/bem.21745},
	doi = {10.1002/bem.21745},
	language = {en},
	number = {2},
	urldate = {2016-09-02},
	journal = {Bioelectromagnetics},
	author = {Cabot, Eugenia and Lloyd, Tom and Christ, Andreas and Kainz, Wolfgang and Douglas, Mark and Stenzel, Gregg and Wedan, Steve and Kuster, Niels},
	month = feb,
	year = {2013},
	pages = {104--113},
	file = {brain_implant.pdf:/Users/cmey/Zotero/storage/C893ANVF/brain_implant.pdf:application/pdf}
}

@article{boilson_safety_2012,
	title = {Safety of magnetic resonance imaging in patients with permanent pacemakers: a collaborative clinical approach},
	volume = {33},
	issn = {1383-875X, 1572-8595},
	shorttitle = {Safety of magnetic resonance imaging in patients with permanent pacemakers},
	url = {http://link.springer.com/10.1007/s10840-011-9615-8},
	doi = {10.1007/s10840-011-9615-8},
	language = {en},
	number = {1},
	urldate = {2016-09-02},
	journal = {Journal of Interventional Cardiac Electrophysiology},
	author = {Boilson, Barry Anthony and Wokhlu, Anita and Acker, Nancy G. and Felmlee, Joel P. and Watson, Robert E. and Julsrud, Paul R. and Friedman, Paul A. and Cha, Yong-Mei and Rea, Robert F. and Hayes, David L. and Shen, Win-Kuang},
	month = jan,
	year = {2012},
	pages = {59--67},
	file = {Boilson_SafetyOfMRI.pdf:/Users/cmey/Zotero/storage/PUJDBE93/Boilson_SafetyOfMRI.pdf:application/pdf}
}

@article{bassen_-vitro_2009,
	title = {In-vitro mapping of {E}-fields induced near pacemaker leads by simulated {MR} gradient fields},
	volume = {8},
	issn = {1475-925X},
	url = {http://biomedical-engineering-online.biomedcentral.com/articles/10.1186/1475-925X-8-39},
	doi = {10.1186/1475-925X-8-39},
	language = {en},
	number = {1},
	urldate = {2016-09-02},
	journal = {BioMedical Engineering OnLine},
	author = {Bassen, Howard I and Mendoza, Gonzalo G},
	year = {2009},
	pages = {39},
	file = {Bassen_InVitroMappingEFields.pdf:/Users/cmey/Zotero/storage/J3WUZVLP/Bassen_InVitroMappingEFields.pdf:application/pdf}
}

@article{park_calculation_2007,
	title = {Calculation of {MRI}-induced heating of an implanted medical lead wire with an electric field transfer function},
	volume = {26},
	issn = {10531807, 15222586},
	url = {http://doi.wiley.com/10.1002/jmri.21159},
	doi = {10.1002/jmri.21159},
	language = {en},
	number = {5},
	urldate = {2016-09-02},
	journal = {Journal of Magnetic Resonance Imaging},
	author = {Park, Sung-Min and Kamondetdacha, Rungkiet and Nyenhuis, John A.},
	month = nov,
	year = {2007},
	pages = {1278--1285},
	file = {PARK_2007_heating_lead_wire_E_transfert_function_26.pdf:/Users/cmey/Zotero/storage/QNBISYL2/PARK_2007_heating_lead_wire_E_transfert_function_26.pdf:application/pdf}
}

@article{yeung_greens_2001,
	title = {A {Green}’s function approach to local rf heating in interventional {MRI}},
	volume = {28},
	issn = {00942405},
	url = {http://scitation.aip.org/content/aapm/journal/medphys/28/5/10.1118/1.1367860},
	doi = {10.1118/1.1367860},
	language = {en},
	number = {5},
	urldate = {2016-09-02},
	journal = {Medical Physics},
	author = {Yeung, Christopher J. and Atalar, Ergin},
	year = {2001},
	pages = {826},
	file = {YEUNG_2001_Green_function_RF_Heating_38.pdf.pdf:/Users/cmey/Zotero/storage/RC43F2YD/YEUNG_2001_Green_function_RF_Heating_38.pdf.pdf:application/pdf}
}

@article{yeung_rf_2002,
	title = {{RF} heating due to conductive wires during {MRI} depends on the phase distribution of the transmit field},
	volume = {48},
	issn = {0740-3194, 1522-2594},
	url = {http://doi.wiley.com/10.1002/mrm.10310},
	doi = {10.1002/mrm.10310},
	language = {en},
	number = {6},
	urldate = {2016-09-02},
	journal = {Magnetic Resonance in Medicine},
	author = {Yeung, Christopher J. and Susil, Robert C. and Atalar, Ergin},
	month = dec,
	year = {2002},
	pages = {1096--1098},
	file = {YEUNG_2002_RF_Heating_conductive_wire_phase_distribution_transmit_field_63.pdf:/Users/cmey/Zotero/storage/KR3AL4ER/YEUNG_2002_RF_Heating_conductive_wire_phase_distribution_transmit_field_63.pdf:application/pdf}
}

@article{yeung_rf_2002-1,
	title = {{RF} safety of wires in interventional {MRI}: {Using} a safety index},
	volume = {47},
	issn = {0740-3194, 1522-2594},
	shorttitle = {{RF} safety of wires in interventional {MRI}},
	url = {http://doi.wiley.com/10.1002/mrm.10037},
	doi = {10.1002/mrm.10037},
	language = {en},
	number = {1},
	urldate = {2016-09-02},
	journal = {Magnetic Resonance in Medicine},
	author = {Yeung, Christopher J. and Susil, Robert C. and Atalar, Ergin},
	month = jan,
	year = {2002},
	pages = {187--193},
	file = {YEUNG_2002_RF_safety_wire_MRM_106.pdf:/Users/cmey/Zotero/storage/VLBCXQEV/YEUNG_2002_RF_safety_wire_MRM_106.pdf:application/pdf}
}

@article{langman_dependence_2012,
	title = {The dependence of radiofrequency induced pacemaker lead tip heating on the electrical conductivity of the medium at the lead tip},
	volume = {68},
	url = {http://onlinelibrary.wiley.com/doi/10.1002/mrm.23235/full},
	number = {2},
	urldate = {2016-09-02},
	journal = {Magnetic resonance in medicine},
	author = {Langman, Deborah A. and Goldberg, Ira B. and Judy, Jack and Paul Finn, J. and Ennis, Daniel B.},
	year = {2012},
	pages = {606--613},
	file = {LANGMAN_MRM_2012_dependence_RF_heating_conductivity_medium_at_the lead_tip.pdf:/Users/cmey/Zotero/storage/EM4ZYXQ4/LANGMAN_MRM_2012_dependence_RF_heating_conductivity_medium_at_the lead_tip.pdf:application/pdf;Yeung_et_al-2002-Magnetic_Resonance_in_Medicine.pdf:/Users/cmey/Zotero/storage/M9ZPJWHH/Yeung_et_al-2002-Magnetic_Resonance_in_Medicine.pdf:application/pdf}
}

@article{kugel_hazardous_2003,
	title = {Hazardous situation in the {MR} bore: induction in {ECG} leads causes fire},
	volume = {13},
	shorttitle = {Hazardous situation in the {MR} bore},
	url = {http://link.springer.com/article/10.1007/s00330-003-1841-8},
	number = {4},
	urldate = {2016-09-02},
	journal = {European radiology},
	author = {Kugel, Harald and Bremer, Christoph and Püschel, Marco and Fischbach, Roman and Lenzen, Horst and Tombach, Bernd and Van Aken, Hugo and Heindel, Walter},
	year = {2003},
	pages = {690--694},
	file = {ecg_burn.pdf:/Users/cmey/Zotero/storage/4NCXTV2U/ecg_burn.pdf:application/pdf}
}

@article{braithwaite_guide_2013,
	title = {A guide for analysing electrodermal activity ({EDA}) \& skin conductance responses ({SCRs}) for psychological experiments},
	volume = {49},
	url = {http://www.birmingham.ac.uk/documents/college-les/psych/saal/guide-electrodermal-activity.pdf},
	urldate = {2016-09-02},
	journal = {Psychophysiology},
	author = {Braithwaite, Jason J. and Watson, Derrick G. and Jones, Robert and Rowe, Mickey},
	year = {2013},
	pages = {1017--1034},
	file = {guide-electrodermal-activity.pdf:/Users/cmey/Zotero/storage/25SBF4L7/guide-electrodermal-activity.pdf:application/pdf}
}

@article{keens_burns_1996,
	title = {Burns caused by {ECG} monitoring during {MRI} imaging},
	volume = {51},
	url = {http://onlinelibrary.wiley.com/doi/10.1111/j.1365-2044.1996.tb15077.x/abstract},
	number = {12},
	urldate = {2016-09-02},
	journal = {Anaesthesia},
	author = {Keens, S. J. and Laurence, A. S.},
	year = {1996},
	pages = {1188--1189},
	file = {Keens_et_al-1996-Anaesthesia.pdf:/Users/cmey/Zotero/storage/M8HDFFCF/Keens_et_al-1996-Anaesthesia.pdf:application/pdf}
}

@book{yvanoff_lc_2008,
	title = {{LC} sensor for biological tissue characterization},
	url = {http://books.google.com/books?hl=en&lr=&id=WRdYj8nbNQUC&oi=fnd&pg=PR10&dq=%22validation+has+been+performed+with+a+telemetry+link+that+consists+of+a+loop+antenna+and%22+%22celui+que+j%E2%80%99avais%22+%22m%E2%80%99arrive+de+tremper+le+pinceau+dans+un+pot%22+&ots=-8yhaH8gdD&sig=MECyd9caPbfIcdQLG_CfOKgtofA},
	urldate = {2016-09-02},
	publisher = {ProQuest},
	author = {Yvanoff, Marie},
	year = {2008},
	file = {LC Sensor for biological tissue characterization.pdf:/Users/cmey/Zotero/storage/5IEFWUNM/LC Sensor for biological tissue characterization.pdf:application/pdf}
}

@inproceedings{li_using_2014,
	title = {Using scaling approach to estimate {MRI} {RF} field induced heating for small medical implant},
	url = {http://mrisafetymodeling.com/pub/P3_2014_IEEE-EMC.pdf},
	urldate = {2016-09-02},
	booktitle = {2014 {IEEE} {International} {Symposium} on {Electromagnetic} {Compatibility} ({EMC})},
	publisher = {IEEE},
	author = {Li, Dawei and Zheng, Jianfeng and Liu, Yan and Chen, Ji and Pan, Changwan and Kainz, Wolfgang},
	year = {2014},
	pages = {109--112},
	file = {kainz.pdf:/Users/cmey/Zotero/storage/Y3ZIIZXY/kainz.pdf:application/pdf}
}

@article{mohsin_mri-induced_2008,
	title = {{MRI}-induced heating of deep brain stimulation leads},
	volume = {53},
	issn = {0031-9155, 1361-6560},
	url = {http://stacks.iop.org/0031-9155/53/i=20/a=012?key=crossref.1d8136c719f9cf192d7bd998d79370a9},
	doi = {10.1088/0031-9155/53/20/012},
	number = {20},
	urldate = {2016-09-02},
	journal = {Physics in Medicine and Biology},
	author = {Mohsin, Syed A and Sheikh, Noor M and Saeed, Usman},
	month = oct,
	year = {2008},
	pages = {5745--5756},
	file = {Mohsin2008_2.pdf:/Users/cmey/Zotero/storage/9K2DJQZR/Mohsin2008_2.pdf:application/pdf}
}

@article{giudici_should_2012,
	title = {Should the trend toward smaller lead sizes with pacemakers and defibrillators be reconsidered?},
	volume = {10},
	issn = {1477-9072, 1744-8344},
	url = {http://www.tandfonline.com/doi/full/10.1586/erc.12.135},
	doi = {10.1586/erc.12.135},
	language = {en},
	number = {11},
	urldate = {2017-07-04},
	journal = {Expert Review of Cardiovascular Therapy},
	author = {Giudici, Michael C and Barold, S Serge},
	month = nov,
	year = {2012},
	pages = {1337--1339},
	file = {erc.12.pdf:/Users/cmey/Zotero/storage/BTND3L2T/erc.12.pdf:application/pdf}
}

@article{ferreira_mri-conditional_2014-1,
	title = {{MRI}-conditional pacemakers: current perspectives},
	volume = {7},
	issn = {1179-1470},
	shorttitle = {{MRI}-conditional pacemakers},
	url = {http://www.ncbi.nlm.nih.gov/pmc/articles/PMC4019608/},
	doi = {10.2147/MDER.S44063},
	abstract = {Use of both magnetic resonance imaging (MRI) and pacing devices has undergone remarkable growth in recent years, and it is estimated that the majority of patients with pacemakers will need an MRI during their lifetime. These investigations will generally be denied due to the potentially dangerous interactions between cardiac devices and the magnetic fields and radio frequency energy used in MRI. Despite the increasing reports of uneventful scanning in selected patients with conventional pacemakers under close surveillance, MRI is still contraindicated in those circumstances and cannot be considered a routine procedure. These limitations prompted a series of modifications in generator and lead engineering, designed to minimize interactions that could compromise device function and patient safety. The resulting MRI-conditional pacemakers were first introduced in 2008 and the clinical experience gathered so far supports their safety in the MRI environment if certain conditions are fulfilled. With this technology, new questions and controversies arise regarding patient selection, clinical impact, and cost-effectiveness. In this review, we discuss the potential risks of MRI in patients with electronic cardiac devices and present updated information regarding the features of MRI-conditional pacemakers and the clinical experience with currently available models. Finally, we provide some guidance on how to scan patients who have these devices and discuss future directions in the field.},
	journal = {Medical Devices (Auckland, N.Z.)},
	author = {Ferreira, António M and Costa, Francisco and Tralhão, António and Marques, Hugo and Cardim, Nuno and Adragão, Pedro},
	month = may,
	year = {2014},
	pages = {115--124},
	file = {PubMed Central Full Text PDF:/Users/cmey/Zotero/storage/DZMIZ5KU/Ferreira et al. - 2014 - MRI-conditional pacemakers current perspectives.pdf:application/pdf}
}

@misc{noauthor_2012_nodate,
	title = {2012 - {ISO}-{TS} 10974 - {Assessment} of the safety of magnetic resonance imaging for patients with an active implantable medical device.pdf}
}

@article{angelone_metallic_2004,
	title = {Metallic electrodes and leads in simultaneous {EEG}-{MRI}: {Specific} absorption rate ({SAR}) simulation studies},
	volume = {25},
	issn = {1521-186X},
	shorttitle = {Metallic electrodes and leads in simultaneous {EEG}-{MRI}},
	url = {http://onlinelibrary.wiley.com/doi/10.1002/bem.10198/abstract},
	doi = {10.1002/bem.10198},
	abstract = {The purpose of this study was to investigate the changes in specific absorption rate (SAR) in human-head tissues while using nonmagnetic metallic electroencephalography (EEG) electrodes and leads during magnetic resonance imaging (MRI). A realistic, high resolution (1 mm3) head model from individual MRI data was adopted to describe accurately thin tissues, such as bone marrow and skin. The RF power dissipated in the human head was evaluated using the FDTD algorithm. Both surface and bird cage coils were used. The following numbers of EEG electrodes/leads were considered: 16, 31, 62, and 124. Simulations were performed at 128 and 300 MHz. The difference in SAR between the electrodes/leads and no-electrodes conditions was greater with the bird cage coil than with the surface coil. The peak 1 g averaged SAR values were highest at 124 electrodes, increasing to as much as two orders of magnitude (×172.3) at 300 MHz compared to the original value. At 300 MHz, there was a fourfold (×3.6) increase of SAR averaged over the bone marrow, and a sevenfold (×7.4) increase in the skin. At 128 MHz, there was a fivefold (×5.6) increase of whole head SAR. Head models were obtained from two different subjects, with an inter-subject whole head SAR variability of 3\%. Bioelectromagnetics 25:285–295, 2004. © 2004 Wiley-Liss, Inc.},
	language = {en},
	number = {4},
	journal = {Bioelectromagnetics},
	author = {Angelone, Leonardo M. and Potthast, Andreas and Segonne, Florent and Iwaki, Sunao and Belliveau, John W. and Bonmassar, Giorgio},
	month = may,
	year = {2004},
	keywords = {MRI, FDTD, induced currents, numerical dosimetry, RF coils, SAR},
	pages = {285--295},
	file = {Full Text PDF:/Users/cmey/Zotero/storage/CKC49CEJ/Angelone et al. - 2004 - Metallic electrodes and leads in simultaneous EEG-.pdf:application/pdf;Snapshot:/Users/cmey/Zotero/storage/VUK4F5AC/abstract.html:text/html}
}

@book{seitz_magnetic_2011,
	title = {Magnetic {Resonance} {Imaging} on {Patients} with {Implanted} {Cardiac} {Pacemakers}},
	isbn = {978-3-86644-610-6},
	abstract = {Google-Books-ID: BaGKQljhc80C},
	language = {en},
	publisher = {KIT Scientific Publishing},
	author = {Seitz, Sebastian},
	year = {2011}
}

@article{missoffe_new_2017,
	title = {New transmission line model of an insulated cable embedded in gel for {MRI} radiofrequency interaction hazard evaluation as an alternative to the transfer function model},
	url = {https://hal.archives-ouvertes.fr/hal-01494478/},
	urldate = {2017-06-26},
	author = {Missoffe, Alexia},
	year = {2017},
	file = {TransmissionLineModel_HAL_Missoffe_2017.pdf:/Users/cmey/Zotero/storage/3ZTJSE5M/TransmissionLineModel_HAL_Missoffe_2017.pdf:application/pdf}
}

@article{acikel_modeling_2011,
	title = {Modeling of radio-frequency induced currents on lead wires during {MR} imaging using a modified transmission line method},
	volume = {38},
	issn = {2473-4209},
	url = {http://onlinelibrary.wiley.com/doi/10.1118/1.3662865/abstract},
	doi = {10.1118/1.3662865},
	abstract = {Purpose:

Metallic implants may cause serious tissue heating during magnetic resonance (MR) imaging. This heating occurs due to the induced currents caused by the radio-frequency (RF) field. Much work has been done to date to understand the relationship between the RF field and the induced currents. Most of these studies, however, were based purely on experimental or numerical methods. This study has three main purposes: (1) to define the RF heating properties of an implant lead using two parameters; (2) to develop an analytical formulation that directly explains the relationship between RF fields and induced currents; and (3) to form a basis for analysis of complex cases.

Methods:

In this study, a lumped element model of the transmission line was modified to model leads of implants inside the body. Using this model, leads are defined using two parameters: impedance per unit length,Z, and effective wavenumber along the lead, kt. These two parameters were obtained by using methods that are similar to the transmission line theory. As long as these parameters are known for a lead, currents induced in the lead can be obtained no matter how complex the lead geometry is. The currents induced in bare wire, lossy wire, and insulated wire were calculated using this new method which is called the modified transmission line method or MoTLiM. First, the calculated induced currents under uniform electric field distribution were solved and compared with method-of-moments (MoM) calculations. In addition, MoTLiM results were compared with those of phantom experiments. For experimental verification, the flip angle distortion due to the induced currents was used. The flip angle distribution around a wire was both measured by using flip angle imaging methods and calculated using current distribution obtained from the MoTLiM. Finally, these results were compared and an error analysis was carried out.

Results:

Bare perfect electric, bare lossy, and insulated perfect electric conductor wires under uniform and linearly varying electric field exposure were solved, both for 1.5 T and 3 T scanners, using both the MoTLiM and MoM. The results are in agreement within 10\% mean-square error. The flip angle distribution that was obtained from experiments was compared along the azimuthal paths with different distances from the wire. The highest mean-square error was 20\% among compared cases.

Conclusions:

A novel method was developed to define the RF heating properties of implant leads with two parameters and analyze the induced currents on implant leads that are exposed to electromagnetic fields in a lossy medium during a magnetic resonance imaging (MRI) scan. Some simple cases are examined to explain the MoTLiM and a basis is formed for the analysis of complex cases. The method presented shows the direct relationship between the incident RF field and the induced currents. In addition, the MoTLiM reveals the RF heating properties of the implant leads in terms of the physical features of the lead and electrical properties of the medium.},
	language = {en},
	number = {12},
	journal = {Medical Physics},
	author = {Acikel, Volkan and Atalar, Ergin},
	month = dec,
	year = {2011},
	keywords = {MRI, Magnetic fields, biomedical MRI, induced currents, Bioelectrochemistry, Boundary value problems, Coils, Electric currents, Electric fields, implant safety, Lead, magnetic resonance imaging, Medical imaging, method of moments, phantoms, RF, RF heating, Theory and principles, transmission line theory, Waveguides, transmission lines, striplines, wires},
	pages = {6623--6632},
	file = {Snapshot:/Users/cmey/Zotero/storage/YEQ6FEIQ/abstract.html:text/html}
}

@book{nwabunma_polyolefin_2008,
	title = {Polyolefin {Composites}},
	isbn = {978-0-470-19902-2},
	abstract = {This guide to the properties and applications of polyolefin composites consolidates information to help the reader compare, select, and integrate a material solution as needed. It covers polyolefin microcomposites, polyolefin nanocomposites, and advanced polyolefin nano and molecular composites and discusses processing, morphological characterization, crystallization, structure and properties, and performance evaluation at micro and nano structural levels. It details modeling and simulation, engineering performance properties, and applications. This is a practical, hands-on reference for practicing professionals as well as graduate students.},
	language = {en},
	publisher = {John Wiley \& Sons},
	author = {Nwabunma, Domasius and Kyu, Thein},
	month = jan,
	year = {2008},
	keywords = {Science / Chemistry / Organic, Technology \& Engineering / Chemical \& Biochemical}
}

@article{barbier_rf-induced_2014,
	title = {An {RF}-induced voltage sensor for investigating pacemaker safety in {MRI}},
	volume = {27},
	issn = {0968-5243, 1352-8661},
	url = {http://link.springer.com/10.1007/s10334-014-0437-4},
	doi = {10.1007/s10334-014-0437-4},
	language = {en},
	number = {6},
	urldate = {2017-06-23},
	journal = {Magnetic Resonance Materials in Physics, Biology and Medicine},
	author = {Barbier, Th?r?se and Piumatti, Roberto and Hecker, Bertrand and Odille, Freddy and Felblinger, Jacques and Pasquier, C?dric},
	month = dec,
	year = {2014},
	pages = {539--549},
	file = {10.1007s10334-014-0437-4.pdf:/Users/cmey/Zotero/storage/J2GNCQ4A/10.1007s10334-014-0437-4.pdf:application/pdf}
}

@article{parsonnet_cut_2011,
	title = {To {Cut} or to {Cap}, {That} {Is} the {Question}},
	volume = {34},
	issn = {1540-8159},
	url = {http://onlinelibrary.wiley.com/doi/10.1111/j.1540-8159.2011.03067.x/abstract},
	doi = {10.1111/j.1540-8159.2011.03067.x},
	language = {en},
	number = {5},
	journal = {Pacing and Clinical Electrophysiology},
	author = {Parsonnet, Victor},
	month = may,
	year = {2011},
	pages = {621--621},
	file = {Full Text PDF:/Users/cmey/Zotero/storage/WBVAPB2M/Parsonnet - 2011 - To Cut or to Cap, That Is the Question.pdf:application/pdf;Snapshot:/Users/cmey/Zotero/storage/T7ZX7MVH/abstract.html:text/html}
}

@article{mattei_impact_2015-1,
	title = {Impact of capped and uncapped abandoned leads on the heating of an {MR}-conditional pacemaker implant},
	volume = {73},
	issn = {1522-2594},
	url = {http://onlinelibrary.wiley.com/doi/10.1002/mrm.25106/abstract},
	doi = {10.1002/mrm.25106},
	abstract = {Purpose

To assess the risk of radiofrequency (RF) -induced heating in patients with MR-conditional pacemaker (PM) systems, in the presence of another lead abandoned from a previous implant.

Methods

Four commercial pacemaker leads were placed beside a MR-conditional PM system, inside a human trunk simulator. The phantom has been exposed to the RF generated by a 64 MHz body bird-cage coil (whole-body specific absorption rate [SAR] = 1 W/kg) and the induced heating was measured at the tip of the abandoned lead and of the MR-conditional implant. Configurations that maximize the coupling between the RF field and the leads have been tested, as well as realistic implant positions.

Results

Abandoned leads showed heating behaviors that strongly depend on the termination condition (abandoned-capped or saline exposed) and on the lead path (left or right positioning). Given a whole-body SAR = 1 W/kg, a maximum temperature rise of 17.6°C was observed. The presence of the abandoned lead modifies the RF-heating profile of the MR-conditional implant: either an increase or a decrease in the induced heating at its lead tip can occur, mainly depending on the relative position of the two leads. Variations ranging from −63\% to +69\% with respect to the MR-conditional system alone were observed.

Conclusion

These findings provide experimental evidence that the presence of an abandoned lead poses an additional risk for the patient implanted with a MR-conditional PM system. Our results support the current PM manufacturers' policy of conditioning the MR compatibility of their systems to the absence of abandoned leads (including leads from MR-conditional implants). From a clinical point of view, in such cases, the decision whether to perform the exam shall be based upon a risk/benefit evaluation, as in the case of conventional PM systems. Magn Reson Med 73:390–400, 2015. © 2014 Wiley Periodicals, Inc.},
	language = {en},
	number = {1},
	journal = {Magnetic Resonance in Medicine},
	author = {Mattei, Eugenio and Gentili, Giulia and Censi, Federica and Triventi, Michele and Calcagnini, Giovanni},
	month = jan,
	year = {2015},
	keywords = {magnetic resonance imaging, abandoned leads, pacemaker, radiofrequency heating},
	pages = {390--400},
	file = {Full Text PDF:/Users/cmey/Zotero/storage/4JT9GLCG/Mattei et al. - 2015 - Impact of capped and uncapped abandoned leads on t.pdf:application/pdf;Snapshot:/Users/cmey/Zotero/storage/229VABIM/abstract.html:text/html}
}

@article{aguilera_radiography_2011,
	title = {Radiography of {Cardiac} {Conduction} {Devices}: {A} {Comprehensive} {Review}},
	volume = {31},
	issn = {0271-5333, 1527-1323},
	shorttitle = {Radiography of {Cardiac} {Conduction} {Devices}},
	url = {http://pubs.rsna.org/doi/10.1148/rg.316115529},
	doi = {10.1148/rg.316115529},
	language = {en},
	number = {6},
	urldate = {2017-06-23},
	journal = {RadioGraphics},
	author = {Aguilera, Amanda L. and Volokhina, Yulia V. and Fisher, Kendra L.},
	month = oct,
	year = {2011},
	pages = {1669--1682},
	file = {rg.pdf:/Users/cmey/Zotero/storage/FHCBJKX2/rg.pdf:application/pdf}
}

@article{buch_pacemaker_2011,
	title = {Pacemaker and {Defibrillator} {Lead} {Extraction}},
	volume = {123},
	issn = {0009-7322, 1524-4539},
	url = {http://circ.ahajournals.org/cgi/doi/10.1161/CIRCULATIONAHA.110.987354},
	doi = {10.1161/CIRCULATIONAHA.110.987354},
	language = {en},
	number = {11},
	urldate = {2017-06-23},
	journal = {Circulation},
	author = {Buch, E. and Boyle, N. G. and Belott, P. H.},
	month = mar,
	year = {2011},
	pages = {e378--e380},
	file = {e378.full.pdf:/Users/cmey/Zotero/storage/WUS5W8FK/e378.full.pdf:application/pdf}
}

@article{papalia_cmr_2015,
	title = {{CMR} scanning of {MR}-conditional pacemakers: a 5-year single centre experience},
	volume = {17},
	issn = {1097-6647},
	shorttitle = {{CMR} scanning of {MR}-conditional pacemakers},
	url = {http://www.ncbi.nlm.nih.gov/pmc/articles/PMC4328800/},
	doi = {10.1186/1532-429X-17-S1-P184},
	abstract = {PMID: null
PMCID: PMC4328800},
	number = {Suppl 1},
	journal = {Journal of Cardiovascular Magnetic Resonance},
	author = {Papalia, Francesco and Mohiddin, Saidi A and Davies, Ceri and Westwood, Mark and Weerackody, Roshan and Whittaker-Axon, Sarah and Sekhri, Neha},
	month = feb,
	year = {2015},
	file = {PubMed Central Full Text PDF:/Users/cmey/Zotero/storage/XBWLDNST/Papalia et al. - 2015 - CMR scanning of MR-conditional pacemakers a 5-yea.pdf:application/pdf}
}

@article{cronin_magnetic_2012,
	title = {Magnetic {Resonance} {Imaging} {Conditional} {Pacemakers}: {Rationale}, {Development} and {Future} {Directions}},
	volume = {12},
	issn = {0972-6292},
	shorttitle = {Magnetic {Resonance} {Imaging} {Conditional} {Pacemakers}},
	url = {http://www.ncbi.nlm.nih.gov/pmc/articles/PMC3443878/},
	abstract = {Pacemakers and other cardiac implantable electronic devices (CIEDs) have long been considered an absolute contraindication to magnetic resonance imaging (MRI), a crucial and growing imaging modality. In the last 20 years, protocols have been developed to allow MR scanning of CIED patients with a low complication rate. However, this practice has remained limited to a relatively small number of centers, and many pacemaker patients continue to be denied access to clinically indicated imaging. The introduction of MRI conditional pacemakers has provided a widely applicable and satisfactory solution to this problem. Here, the interactions of pacemakers with the MR environment, the results of MR scanning in patients with conventional CIEDs, the development and clinical experience with MRI conditional devices, and future directions are reviewed.},
	number = {5},
	journal = {Indian Pacing and Electrophysiology Journal},
	author = {Cronin, Edmond M and Wilkoff, Bruce L},
	month = sep,
	year = {2012},
	pages = {204--212},
	file = {PubMed Central Full Text PDF:/Users/cmey/Zotero/storage/5NZKTWHK/Cronin et Wilkoff - 2012 - Magnetic Resonance Imaging Conditional Pacemakers.pdf:application/pdf}
}

@misc{noauthor_setting_2017,
	title = {Setting the {Pace}: {MRIs} on {Patients} with {Implanted} {Devices}},
	url = {http://www.radiologytoday.net/archive/rt1016p12.shtml},
	urldate = {2017-06-23},
	month = jun,
	year = {2017},
	file = {Setting the Pace\: MRIs on Patients with Implanted Devices:/Users/cmey/Zotero/storage/8ZPJXXC4/rt1016p12.html:text/html}
}

@article{ferreira_mri-conditional_2014-2,
	title = {{MRI}-conditional pacemakers: current perspectives},
	issn = {1179-1470},
	shorttitle = {{MRI}-conditional pacemakers},
	url = {http://www.dovepress.com/mri-conditional-pacemakers-current-perspectives-peer-reviewed-article-MDER},
	doi = {10.2147/MDER.S44063},
	language = {en},
	urldate = {2017-06-23},
	journal = {Medical Devices: Evidence and Research},
	author = {Ferreira, Ant?nio Miguel and Costa, Francisco and Marques, Hugo and Cardim, Nuno and Tralhao, Antonio and Adragao, Pedro},
	month = may,
	year = {2014},
	pages = {115},
	file = {MR-Conditional_PM.pdf:/Users/cmey/Zotero/storage/2ZBLKYBK/MR-Conditional_PM.pdf:application/pdf}
}

@article{noauthor_notitle_nodate
}

@article{park_congratulations_2016,
	title = {Congratulations on the 25th {Anniversary} of the {IMIA} {Yearbook}!},
	issn = {0943-4747},
	url = {http://dx.doi.org/10.15265/IYS-2016-s042},
	doi = {10.15265/IYS-2016-s042},
	language = {EN},
	number = {2},
	journal = {IMIA Yearbook},
	author = {Park, H. -A},
	year = {2016},
	pages = {S1--S2}
}

@article{neufeld_measurement_2009-1,
	title = {Measurement, simulation and uncertainty assessment of implant heating during {MRI}},
	volume = {54},
	issn = {0031-9155, 1361-6560},
	url = {http://stacks.iop.org/0031-9155/54/i=13/a=012?key=crossref.97948664c3c029b01eaf9d79b5d392ff},
	doi = {10.1088/0031-9155/54/13/012},
	number = {13},
	urldate = {2016-10-26},
	journal = {Physics in Medicine and Biology},
	author = {Neufeld, E and Kühn, S and Szekely, G and Kuster, N},
	month = jul,
	year = {2009},
	pages = {4151--4169},
	file = {Neufeld2009.pdf:/Users/cmey/Zotero/storage/VI2JLBJ9/Neufeld2009.pdf:application/pdf}
}

@article{yu_potential_2016,
	title = {Potential for high-permittivity materials to reduce local {SAR} at a pacemaker lead tip during {MRI} of the head with a body transmit coil at 3 {T}: {High} {Permittivity} {Materials} and {Pacemaker}},
	issn = {07403194},
	shorttitle = {Potential for high-permittivity materials to reduce local {SAR} at a pacemaker lead tip during {MRI} of the head with a body transmit coil at 3 {T}},
	url = {http://doi.wiley.com/10.1002/mrm.26344},
	doi = {10.1002/mrm.26344},
	language = {en},
	urldate = {2016-10-13},
	journal = {Magnetic Resonance in Medicine},
	author = {Yu, Zidan and Xin, Xuegang and Collins, Christopher M.},
	month = oct,
	year = {2016},
	file = {Yu_et_al-2016-Magnetic_Resonance_in_Medicine.pdf:/Users/cmey/Zotero/storage/LNC3LBT4/Yu_et_al-2016-Magnetic_Resonance_in_Medicine.pdf:application/pdf}
}

@article{mattei_impact_2015-2,
	title = {Impact of capped and uncapped abandoned leads on the heating of an {MR}-conditional pacemaker implant: {MR}-{Conditional} {Pacemaker} {Implant} and {Abandoned} {Lead}},
	volume = {73},
	issn = {07403194},
	shorttitle = {Impact of capped and uncapped abandoned leads on the heating of an {MR}-conditional pacemaker implant},
	url = {http://doi.wiley.com/10.1002/mrm.25106},
	doi = {10.1002/mrm.25106},
	language = {en},
	number = {1},
	urldate = {2016-10-11},
	journal = {Magnetic Resonance in Medicine},
	author = {Mattei, Eugenio and Gentili, Giulia and Censi, Federica and Triventi, Michele and Calcagnini, Giovanni},
	month = jan,
	year = {2015},
	pages = {390--400},
	file = {Mattei_et_al-2015-Magnetic_Resonance_in_Medicine.pdf:/Users/cmey/Zotero/storage/WWI8WYUL/Mattei_et_al-2015-Magnetic_Resonance_in_Medicine.pdf:application/pdf}
}

@misc{noauthor_notitle_2016,
	url = {http://indexsmart.mirasmart.com/ISMRM2016/PDFfiles/2228.html},
	urldate = {2016-09-22},
	month = sep,
	year = {2016}
}

@misc{noauthor_notitle_2016-1,
	url = {http://indexsmart.mirasmart.com/ISMRM2016/PDFfiles/2227.html},
	urldate = {2016-09-22},
	month = sep,
	year = {2016}
}

@misc{noauthor_notitle_2016-2,
	url = {http://indexsmart.mirasmart.com/ISMRM2016/PDFfiles/2215.html},
	urldate = {2016-09-22},
	month = sep,
	year = {2016}
}

@phdthesis{vivier_strategies_2002,
	title = {Stratégies d’optimisation par la méthode des plans d’expériences et application aux dispositifs électrotechniques modélisés par éléments finis},
	url = {https://hal.inria.fr/docs/00/04/67/39/PDF/tel-00005822.pdf},
	urldate = {2016-09-08},
	school = {Ecole Centrale de Lille},
	author = {Vivier, Stéphane},
	year = {2002},
	file = {Chapitre 1.pdf:/Users/cmey/Zotero/storage/URQKKPGL/Chapitre 1.pdf:application/pdf}
}

@article{bursztyn_comparison_2006,
	title = {Comparison of designs for computer experiments},
	volume = {136},
	issn = {03783758},
	url = {http://linkinghub.elsevier.com/retrieve/pii/S037837580400343X},
	doi = {10.1016/j.jspi.2004.08.007},
	language = {en},
	number = {3},
	urldate = {2016-09-07},
	journal = {Journal of Statistical Planning and Inference},
	author = {Bursztyn, Dizza and Steinberg, David M.},
	month = mar,
	year = {2006},
	pages = {1103--1119},
	file = {papertena.pdf:/Users/cmey/Zotero/storage/35H46VMA/papertena.pdf:application/pdf}
}

@phdthesis{le_gratiet_multi-fidelity_2013,
	title = {Multi-fidelity {Gaussian} process regression for computer experiments},
	url = {https://tel.archives-ouvertes.fr/tel-00866770/},
	urldate = {2016-09-07},
	school = {Université Paris-Diderot-Paris VII},
	author = {Le Gratiet, Loic},
	year = {2013},
	file = {document.pdf:/Users/cmey/Zotero/storage/NQNNIRF4/document.pdf:application/pdf}
}

@article{wevers_physics_1986,
	title = {Physics {Formulary}},
	url = {http://www2.udec.cl/~jbustamantea/Wevers,_J.C.A._-_Physics_Formulary.pdf},
	urldate = {2016-09-06},
	journal = {JCA Wevers (1995, 2001) Author Biographies JOSEPH B. COLLINS is a Research Physicist with the Naval Research Laboratory in Washington, DC. He received his Ph. D. in Physics from Brown University in},
	author = {Wevers, J. C. A.},
	year = {1986},
	file = {Wevers,_J.C.A._-_Physics_Formulary.pdf:/Users/cmey/Zotero/storage/DUGC588H/Wevers,_J.C.A._-_Physics_Formulary.pdf:application/pdf}
}

@phdthesis{bradley_response_2007,
	title = {The response surface methodology},
	url = {https://www-test.iusb.edu/math-compsci/_prior-thesis/NBradley_thesis.pdf},
	urldate = {2016-09-03},
	school = {Indiana University South Bend},
	author = {Bradley, Nuran},
	year = {2007},
	file = {NBradley_thesis.pdf:/Users/cmey/Zotero/storage/87YM29SY/NBradley_thesis.pdf:application/pdf}
}

@article{wang_factors_2006,
	title = {Factors influencing flip angle mapping in {MRI}: {RF} pulse shape, slice-select gradients, off-resonance excitation, {andB}0 inhomogeneities},
	volume = {56},
	issn = {0740-3194, 1522-2594},
	shorttitle = {Factors influencing flip angle mapping in {MRI}},
	url = {http://doi.wiley.com/10.1002/mrm.20947},
	doi = {10.1002/mrm.20947},
	language = {en},
	number = {2},
	urldate = {2016-09-02},
	journal = {Magnetic Resonance in Medicine},
	author = {Wang, Jinghua and Mao, Weihua and Qiu, Maolin and Smith, Michael B. and Constable, R. Todd},
	month = aug,
	year = {2006},
	pages = {463--468},
	file = {WANG_2006_Mapping_double_angle_MRM.pdf:/Users/cmey/Zotero/storage/F3MNJISB/WANG_2006_Mapping_double_angle_MRM.pdf:application/pdf}
}

@article{wang_vivo_2005,
	title = {In vivo method for correcting transmit/receive nonuniformities with phased array coils},
	volume = {53},
	url = {http://onlinelibrary.wiley.com/doi/10.1002/mrm.20377/full},
	number = {3},
	urldate = {2016-09-02},
	journal = {Magnetic resonance in medicine},
	author = {Wang, Jinghua and Qiu, Maolin and Constable, R. Todd},
	year = {2005},
	pages = {666--674},
	file = {Wang 2005.pdf:/Users/cmey/Zotero/storage/UWLGTR2U/Wang 2005.pdf:application/pdf}
}

@article{sacolick_b1_2010-1,
	title = {B1 mapping by {Bloch}-{Siegert} shift},
	volume = {63},
	issn = {07403194},
	url = {http://doi.wiley.com/10.1002/mrm.22357},
	doi = {10.1002/mrm.22357},
	language = {en},
	number = {5},
	urldate = {2016-09-02},
	journal = {Magnetic Resonance in Medicine},
	author = {Sacolick, Laura I. and Wiesinger, Florian and Hancu, Ileana and Vogel, Mika W.},
	month = may,
	year = {2010},
	pages = {1315--1322},
	file = {SACOLICK_L_2010_B1 mapping by Bloch-Siegert shift.pdf:/Users/cmey/Zotero/storage/PVEFGKQM/SACOLICK_L_2010_B1 mapping by Bloch-Siegert shift.pdf:application/pdf}
}

@article{bernstein_reconstructions_1994-1,
	title = {Reconstructions of phase contrast, phased array multicoil data},
	volume = {32},
	url = {http://onlinelibrary.wiley.com/doi/10.1002/mrm.1910320308/full},
	number = {3},
	urldate = {2016-09-02},
	journal = {Magnetic resonance in medicine},
	author = {Bernstein, Matt A. and Grgic, Mladen and Brosnan, Thomas J. and Pelc, Norbert J.},
	year = {1994},
	pages = {330--334},
	file = {Reconstructions of phase contrast, phased array multicoil data.pdf:/Users/cmey/Zotero/storage/9TQZG4H5/Reconstructions of phase contrast, phased array multicoil data.pdf:application/pdf}
}

@phdthesis{poinsignon-clique_mise_2012,
	title = {Mise en place d'une mesure quantitative du {T}1 en {IRM} cardiaque},
	url = {http://www.theses.fr/2012LORR0363},
	urldate = {2016-09-02},
	school = {Université de Lorraine},
	author = {Poinsignon-Clique, Hélène},
	year = {2012},
	file = {helene_these_Final28sept.pdf:/Users/cmey/Zotero/storage/CUXAIXKB/helene_these_Final28sept.pdf:application/pdf}
}

@article{cunningham_saturated_2006,
	title = {Saturated double-angle method for {rapidB}1+ mapping},
	volume = {55},
	issn = {0740-3194, 1522-2594},
	url = {http://doi.wiley.com/10.1002/mrm.20896},
	doi = {10.1002/mrm.20896},
	language = {en},
	number = {6},
	urldate = {2016-09-02},
	journal = {Magnetic Resonance in Medicine},
	author = {Cunningham, Charles H. and Pauly, John M. and Nayak, Krishna S.},
	month = jun,
	year = {2006},
	pages = {1326--1333},
	file = {Cunningham2006SaturatedDoubleAngleMethod.pdf:/Users/cmey/Zotero/storage/7DYQ9FQ3/Cunningham2006SaturatedDoubleAngleMethod.pdf:application/pdf}
}

@article{akoka_radiofrequency_1993,
	title = {Radiofrequency map of an {NMR} coil by imaging},
	volume = {11},
	url = {http://www.sciencedirect.com/science/article/pii/0730725X9390078R},
	number = {3},
	urldate = {2016-09-02},
	journal = {Magnetic resonance imaging},
	author = {Akoka, S. and Franconi, Florence and Seguin, F. and Le Pape, A.},
	year = {1993},
	pages = {437--441},
	file = {Akoka_1993_B1_Mapping_MRI.pdf:/Users/cmey/Zotero/storage/LJ7WKXR5/Akoka_1993_B1_Mapping_MRI.pdf:application/pdf}
}

@article{berleze_skin_2003,
	title = {Skin and proximity effects in nonmagnetic conductors},
	volume = {46},
	issn = {0018-9359},
	url = {http://ieeexplore.ieee.org/lpdocs/epic03/wrapper.htm?arnumber=1220737},
	doi = {10.1109/TE.2003.814591},
	language = {en},
	number = {3},
	urldate = {2016-09-02},
	journal = {IEEE Transactions on Education},
	author = {Berleze, S.L.M. and Robert, R.},
	month = aug,
	year = {2003},
	pages = {368--372},
	file = {Proximity Effect.pdf:/Users/cmey/Zotero/storage/7GZFR2G3/Proximity Effect.pdf:application/pdf}
}

@article{falcone_validation_2011,
	title = {Validation of high density electrode arrays for cochlear implants: a computational and structural approach},
	shorttitle = {Validation of high density electrode arrays for cochlear implants},
	url = {https://smartech.gatech.edu/handle/1853/39563},
	urldate = {2016-09-02},
	author = {Falcone, Jessica Dominique},
	year = {2011},
	file = {falcone_jessica_d_201105_master.pdf:/Users/cmey/Zotero/storage/NQJUGAX7/falcone_jessica_d_201105_master.pdf:application/pdf}
}

@inproceedings{van_rienen_electro-quasistatic_2006,
	title = {Electro-quasistatic field simulation of an endosteal cochlea implant},
	url = {http://repository.tudelft.nl/view/conferencepapers/uuid:47c9acf1-6f56-4741-9af2-18b19bd4872b/},
	urldate = {2016-09-02},
	booktitle = {{ECCOMAS} {CFD} 2006: {Proceedings} of the {European} {Conference} on {Computational} {Fluid} {Dynamics}, {Egmond} aan {Zee}, {The} {Netherlands}, {September} 5-8, 2006},
	publisher = {Delft University of Technology; European Community on Computational Methods in Applied Sciences (ECCOMAS)},
	author = {Van Rienen, Ursula and Pau, Hans-Wilhelm and Sun, Cheng and Veerathu, Sreekanth and Schulze, Sabine and Schreiber, Ute},
	year = {2006},
	file = {cochlee.pdf:/Users/cmey/Zotero/storage/YESHYUCN/cochlee.pdf:application/pdf}
}

@inproceedings{zakis_modelling_2001,
	title = {Modelling of the {Cochlea} using {Java} 3D},
	url = {http://www.eng.monash.edu.au/non-cms/ecse/ieee/ieeebio2001/witte.pdf},
	urldate = {2016-09-02},
	booktitle = {{IEEE} {Engineering} in {Medicine} and {Biology} {Society}},
	author = {Zakis, John and Witte, Michael},
	year = {2001},
	pages = {1--5},
	file = {cad.pdf:/Users/cmey/Zotero/storage/C5R8GSTJ/cad.pdf:application/pdf}
}

@article{parazzini_assessment_2010,
	title = {Assessment of the exposure to {WLAN} frequencies of a head model with a cochlear implant},
	volume = {31},
	issn = {01978462},
	url = {http://doi.wiley.com/10.1002/bem.20601},
	doi = {10.1002/bem.20601},
	language = {en},
	number = {7},
	urldate = {2016-09-02},
	journal = {Bioelectromagnetics},
	author = {Parazzini, Marta and Sibella, Federica and Paglialonga, Alessia and Ravazzani, Paolo},
	month = oct,
	year = {2010},
	pages = {546--555},
	file = {20601_ftp.pdf:/Users/cmey/Zotero/storage/ZXZAGGG6/20601_ftp.pdf:application/pdf}
}

@article{mcintosh_assessment_2008,
	title = {Assessment of {SAR} and thermal changes near a cochlear implant system for mobile phone type exposures},
	volume = {29},
	issn = {01978462, 1521186X},
	url = {http://doi.wiley.com/10.1002/bem.20364},
	doi = {10.1002/bem.20364},
	language = {en},
	number = {1},
	urldate = {2016-09-02},
	journal = {Bioelectromagnetics},
	author = {McIntosh, Robert L. and Iskra, Steve and McKenzie, Raymond J. and Chambers, John and Metzenthen, Bill and Anderson, Vitas},
	month = jan,
	year = {2008},
	pages = {71--80},
	file = {20364_ftp.pdf:/Users/cmey/Zotero/storage/62VAMA6Y/20364_ftp.pdf:application/pdf}
}

@article{virtanen_interaction_2006,
	title = {Interaction of radio frequency electromagnetic fields and passive metallic implants—{A} brief review},
	volume = {27},
	issn = {0197-8462, 1521-186X},
	url = {http://doi.wiley.com/10.1002/bem.20224},
	doi = {10.1002/bem.20224},
	language = {en},
	number = {6},
	urldate = {2016-09-02},
	journal = {Bioelectromagnetics},
	author = {Virtanen, Hanna and Keshvari, Jafar and Lappalainen, Reijo},
	month = sep,
	year = {2006},
	pages = {431--439},
	file = {20224_ftp.pdf:/Users/cmey/Zotero/storage/3SYKBDI9/20224_ftp.pdf:application/pdf}
}

@article{lawand_electric_2012,
	title = {Electric {Field} {Density} {Distribution} for {Cochlear} {Implant} {Electrodes}},
	url = {https://www.comsol.se/offers/conference2012papers/papers/file/id/13349/file/15173_lawand_paper.pdf},
	urldate = {2016-09-02},
	journal = {Delft University of, technology},
	author = {Lawand, Nishant S. and Van Driel, Joost and French, P. J.},
	year = {2012},
	file = {15173_lawand_paper.pdf:/Users/cmey/Zotero/storage/RRC3G9MS/15173_lawand_paper.pdf:application/pdf}
}

@article{matikka_formerly_virtanen_temperature_2010,
	title = {Temperature changes associated with radiofrequency exposure near authentic metallic implants in the head phantom—a near field simulation study with 900, 1800 and 2450 {MHz} dipole},
	volume = {55},
	issn = {0031-9155, 1361-6560},
	url = {http://stacks.iop.org/0031-9155/55/i=19/a=016?key=crossref.0620c6634e6a31532122e8ba7c396c28},
	doi = {10.1088/0031-9155/55/19/016},
	number = {19},
	urldate = {2016-09-02},
	journal = {Physics in Medicine and Biology},
	author = {Matikka (formerly Virtanen), H and Keshvari, J and Lappalainen, R},
	month = oct,
	year = {2010},
	pages = {5867--5881},
	file = {0031-9155_55_19_016.pdf:/Users/cmey/Zotero/storage/N3C5JNJ5/0031-9155_55_19_016.pdf:application/pdf}
}

@article{sibella_assessment_2009,
	title = {Assessment of {SAR} in the tissues near a cochlear implant exposed to radiofrequency electromagnetic fields},
	volume = {54},
	issn = {0031-9155, 1361-6560},
	url = {http://stacks.iop.org/0031-9155/54/i=8/a=N03?key=crossref.999d9c4fc8cd6da2ebcfd17cdd74c022},
	doi = {10.1088/0031-9155/54/8/N03},
	number = {8},
	urldate = {2016-09-02},
	journal = {Physics in Medicine and Biology},
	author = {Sibella, F and Parazzini, M and Paglialonga, A and Ravazzani, P},
	month = apr,
	year = {2009},
	pages = {N135--N141},
	file = {0031-9155_54_8_N03.pdf:/Users/cmey/Zotero/storage/RG6I7JTE/0031-9155_54_8_N03.pdf:application/pdf}
}

@article{schmid_high-resolution_2007,
	title = {High-resolution numerical model of the middle and inner ear for a detailed analysis of radio frequency absorption},
	volume = {52},
	issn = {0031-9155, 1361-6560},
	url = {http://stacks.iop.org/0031-9155/52/i=7/a=001?key=crossref.839e54bd324facb4a84e087c5be38dfe},
	doi = {10.1088/0031-9155/52/7/001},
	number = {7},
	urldate = {2016-09-02},
	journal = {Physics in Medicine and Biology},
	author = {Schmid, Gernot and Überbacher, Richard and Samaras, Theodoros and Jappel, Alexandra and Baumgartner, Wolf-Dieter and Tschabitscher, Manfred and Mazal, Peter R},
	month = apr,
	year = {2007},
	pages = {1771--1781},
	file = {0031-9155_52_7_001.pdf:/Users/cmey/Zotero/storage/3L2WFW52/0031-9155_52_7_001.pdf:application/pdf}
}

@article{bonnemains_is_2015,
	title = {Is {High} {Temporal} {Resolution} {Achievable} for {Paediatric} {Cardiac} {Acquisitions} during {Several} {Heart} {Beats}? {Illustration} with {Cardiac} {Phase} {Contrast} {Cine}-{MRI}},
	volume = {10},
	issn = {1932-6203},
	shorttitle = {Is {High} {Temporal} {Resolution} {Achievable} for {Paediatric} {Cardiac} {Acquisitions} during {Several} {Heart} {Beats}?},
	url = {http://journals.plos.org/plosone/article?id=10.1371/journal.pone.0143744},
	doi = {10.1371/journal.pone.0143744},
	abstract = {Background During paediatric cardiac Cine-MRI, data acquired during cycles of different lengths must be combined. Most of the time, Feinstein’s model is used to project multiple cardiac cycles of variable lengths into a mean cycle.   Objective To assess the effect of Feinstein projection on temporal resolution of Cine-MRI.   Methods 1/The temporal errors during Feinstein’s projection were computed in 306 cardiac cycles fully characterized by tissue Doppler imaging with 6-phase analysis (from a population of 7 children and young adults). 2/The effects of these temporal errors on tissue velocities were assessed by simulating typical tissue phase mapping acquisitions and reconstructions. 3/Myocardial velocities curves, extracted from high-resolution phase-contrast cine images, were compared for the 6 volunteers with lowest and highest heart rate variability, within a population of 36 young adults.   Results 1/The mean of temporal misalignments was 30 ms over the cardiac cycle but reached 60 ms during early diastole. 2/During phase contrast MRI simulation, early diastole velocity peaks were diminished by 6.1 cm/s leading to virtual disappearance of isovolumic relaxation peaks. 3/The smoothing and erasing of isovolumic relaxation peaks was confirmed on tissue phase mapping velocity curves, between subjects with low and high heart rate variability (p = 0.05).   Conclusions Feinstein cardiac model creates temporal misalignments that impair high temporal resolution phase contrast cine imaging when beat-to-beat heart rate is changing.},
	language = {en},
	number = {11},
	urldate = {2018-02-13},
	journal = {PLOS ONE},
	author = {Bonnemains, Laurent and Odille, Freddy and Meyer, Christophe and Hossu, Gabriella and Felblinger, Jacques and Vuissoz, Pierre-André},
	month = nov,
	year = {2015},
	keywords = {Data acquisition, Diastole, Echocardiography, Heart, Heart rate, Magnetic resonance imaging, NMR relaxation, Systole},
	pages = {e0143744},
	file = {Full Text PDF:/Users/cmey/Zotero/storage/Y38XA3CC/Bonnemains et al. - 2015 - Is High Temporal Resolution Achievable for Paediat.pdf:application/pdf;Snapshot:/Users/cmey/Zotero/storage/RVUQAFI3/article.html:text/html}
}

@article{meyer_accuracy_2017,
	title = {Accuracy of subject-specific prediction of end-systolic time in {MRI} across a range of {RR} intervals},
	volume = {12},
	issn = {1932-6203},
	url = {http://journals.plos.org/plosone/article?id=10.1371/journal.pone.0179011},
	doi = {10.1371/journal.pone.0179011},
	abstract = {Background Prediction of End-Systole time is of utmost importance for cardiac MRI to correctly associate acquired k-space lines during reconstruction of cine acquisitions. This prediction is usually based on the patient’s heart rate using Weissler’s formula, which was calibrated by linear regression within a population and cannot account for individual variability.   Objective We propose an automatic method to build a personalized model that better predicts end-systole.   Methods A phase contrast sequence was modified to acquire only central k-space line with 6.6ms temporal resolution, in a slice passing through the aorta during 128 heartbeats in 35 subjects. Segmentation of aorta and detection of end of systolic ejection was automatic. Duration of electromechanical systole duration as function of heart rate was determined for each subject separately.   Results In comparison with the global models, the adapted cardiac model predicted significantly better both echocardiographic end-systolic reference (bias = 0ms vs 17ms, p{\textless}0.001) and MRI measurements (bias = 6.8ms vs 17ms). Favorable impact was shown on the cine reconstruction of the 5 subjects with the higher cardiac variability (p = 0.02).   Conclusions Personalization of cardiac model to the subject is feasible in MRI and reduces the error of prediction of systole.},
	language = {en},
	number = {6},
	urldate = {2018-02-13},
	journal = {PLOS ONE},
	author = {Meyer, Christophe and Felblinger, Jacques and Vuissoz, Pierre-André and Bonnemains, Laurent},
	month = jun,
	year = {2017},
	keywords = {Aorta, Echocardiography, Electrocardiography, Heart, Heart rate, Linear regression analysis, Magnetic resonance imaging, Systole},
	pages = {e0179011},
	file = {Full Text PDF:/Users/cmey/Zotero/storage/MCVVSHS8/Meyer et al. - 2017 - Accuracy of subject-specific prediction of end-sys.pdf:application/pdf;Snapshot:/Users/cmey/Zotero/storage/RG5EA7XI/article.html:text/html}
}

license: MIT

license_type: permissive

branch_name: refs/heads/master

extension: bib


text:
SUMMARY = "Raspberry Pi Framebuffer Copy"
DESCRIPTION = "This program used for copy primary framebuffer to secondary framebuffer (eg. FBTFT). It require lastest raspberry pi firmware (> 2013-07-11) to working properly."
LICENSE = "CLOSED"
LIC_FILES_CHKSUM = ""

SRC_URI = "git://github.com/tasanakorn/rpi-fbcp.git;protocol=https \
		   file://0001-Use-pkgconfig-to-detect-EGL.patch \
"

DEPENDS = "virtual/libgles2"

# Modify these as desired
PV = "1.0+git${SRCPV}"
SRCREV = "${AUTOREV}"

S = "${WORKDIR}/git"

inherit cmake

# Specify any options you want to pass to cmake using EXTRA_OECMAKE:
EXTRA_OECMAKE = ""

repository: mickey-happygolucky/meta-rpi-fbcp

repo_name: mickey-happygolucky/meta-rpi-fbcp

extension: bb


text:
include gsl.inc

SRC_URI = "${GNU_MIRROR}/gsl/gsl-${PV}.tar.gz"
SRC_URI[sha256sum] = "dcb0fbd43048832b757ff9942691a8dd70026d5da0ff85601e52687f6deeb34b"

repository: openembedded/meta-openembedded

repo_name: openembedded/meta-openembedded

gha_license_id: MIT

gha_language: BitBake


text:
package jz

import "testing"

func TestRegMatch(t *testing.T) {
	tests := []struct {
		test []rune
		reg  []rune
		want bool
	}{
		{
			test: []rune(""),
			reg:  []rune("."),
			want: false,
		},
		{
			test: []rune("aaa"),
			reg:  []rune("a.a"),
			want: true,
		},
		{
			test: []rune("aaa"),
			reg:  []rune("ab*ac*a"),
			want: true,
		},
		{
			test: []rune("aaa"),
			reg:  []rune("aa.a"),
			want: false,
		},
		{
			test: []rune("aaa"),
			reg:  []rune("ab*a"),
			want: false,
		},
		{
			test: []rune("aa"),
			reg:  []rune("a"),
			want: false,
		},
		{
			test: []rune("aa"),
			reg:  []rune("a*"),
			want: true,
		},
		{
			test: []rune("aab"),
			reg:  []rune("c*a*b"),
			want: true,
		},
		{
			test: []rune("mississippi"),
			reg:  []rune("mis*is*p*."),
			want: false,
		},
	}

	for _, value := range tests {
		if result := RegMatch(value.test, value.reg); result != value.want {
			t.Errorf("RegMatch failed, test: %s, reg: %s, results: %t, want: %t", string(value.test), string(value.reg), result, value.want)
		}
	}
}

extension: go


text:
//Package DCache comment
// This file war generated by tars2go 1.1
// Generated from CacheShare.tars
package DCache

type DataType int32

const (
	//DataType_INT enum
	DataType_INT = 0
	//DataType_STR enum
	DataType_STR = 1
)

repository: SherLockOD/DCacheClient

repo_name: SherLockOD/DCacheClient


text:
@inproceedings {type-your-key-here,
  author = "Mukelabai Mukelabai and Thorsten Berger and Paulo Borba",
  booktitle = "43rd International Conference on Software Engineering (ICSE 2021), New Ideas and Emerging Results track",
  title = "Semi-Automated Test-Case Propagation in Fork Ecosystems",
  year = "2021",
  pages = "46-50"
}

repository: pauloborba/academic-kickstart

repo_name: pauloborba/academic-kickstart


text:
DESCRIPTION = "Recipe for adding persistent.txt to /data"
LICENSE = "MIT"

FILES_${PN} += "/data/persistent.txt"

do_compile() {
    echo 'This partition is persistent.' > persistent.txt
}

do_install() {
    install -d ${D}/data/
    install -m 0644 persistent.txt ${D}/data/
}

repository: sweetbit-io/sweetbit

repo_name: sweetbit-io/sweetbit

gha_language: Go


text:
SUMMARY = "Minimalistic user-space Netlink utility library"
DESCRIPTION = "Minimalistic user-space library oriented to Netlink developers, providing \
    functions for common tasks in parsing, validating, and constructing both the Netlink header and TLVs."
HOMEPAGE = "http://www.netfilter.org/projects/libmnl/index.html"
LICENSE = "LGPLv2.1+"
LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"

SRC_URI = "http://www.netfilter.org/projects/libmnl/files/libmnl-${PV}.tar.bz2;name=tar"
SRC_URI[tar.md5sum] = "7d95fc3bea3365bc03c48e484224f65f"
SRC_URI[tar.sha256sum] = "6f14336e9acdbc62c2dc71bbb59ce162e54e9af5c80153e92476c5443fe784de"

inherit autotools pkgconfig

branch_name: refs/heads/fido


text:
DESCRIPTION = "QCOM Firmware for LGE Google Nexus 6P"

LIC_FILES_CHKSUM = "file://license.txt;md5=ab57c77a2230b7254cd6be1f1c0d6806"

FW_QCOM_NAME = "angler"
VENDOR = "huawei"
AOSP_BUILD = "opm7.181205.001"
CHECKSUM_vendor = "52ed73ce"

SRC_URI[vendor.sha256sum] = "2eb9a77de059739d33c7fad07e34034f03a93d70eea39460bb0d9278e5763053"

require recipes-bsp/firmware-nexus/firmware-qcom-pixel.inc

repository: vchong/meta-qcom

repo_name: vchong/meta-qcom


text:
# ******************************************************************************
# Copyright 2017-2020 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ******************************************************************************

include(FetchContent)

set(NGRAPH_EXTERNAL_LLVM_BUILD_DIR "" CACHE STRING "Path to prebuilt LLVM build tree.")

if(NGRAPH_USE_PREBUILT_MLIR)
    set(NGRAPH_EXTERNAL_LLVM_BUILD_DIR ${MLIR_LLVM_PREBUILT_PATH}/build)
endif()

if(NOT ("${NGRAPH_EXTERNAL_LLVM_BUILD_DIR}" STREQUAL ""))
    set(TRY_EXTERNAL_LLVM_BUILD TRUE)
endif()

set(LLVM_COMMIT_ID 627e9007eaba39624fe92a4d97dceb18bc51f190)
if(TRY_EXTERNAL_LLVM_BUILD)
    set(VCSREVISION "${NGRAPH_EXTERNAL_LLVM_BUILD_DIR}/include/llvm/Support/VCSRevision.h")
    if(EXISTS "${VCSREVISION}")
        message(STATUS "LLVM: VCSRevision.h found.")
        file(READ "${VCSREVISION}" REVISION_FILE)
        if(${REVISION_FILE} MATCHES "^#undef LLVM_REVISION*")
            # LLVM is built from a source archive
            message(WARNING "LLVM: Could not revision. Make sure commit ID is ${LLVM_COMMIT_ID}")
            set(USE_EXTERNAL_LLVM_BUILD TRUE)
        else()
            string(REGEX MATCH "LLVM_REVISION \"([A-Za-z0-9]+)\"" _ ${REVISION_FILE})
            set(LONG_REV ${CMAKE_MATCH_1})
            if(LONG_REV STREQUAL LLVM_COMMIT_ID)
                message(STATUS "LLVM: Revision Matches.")
                set(USE_EXTERNAL_LLVM_BUILD TRUE)
            endif()
        endif()
    endif()
endif()

if(USE_EXTERNAL_LLVM_BUILD)
    if(NGRAPH_CODEGEN_ENABLE)
        find_package(Clang REQUIRED CONFIG HINTS "${NGRAPH_EXTERNAL_LLVM_BUILD_DIR}/lib/cmake/clang" NO_DEFAULT_PATH)
    endif()
    if(NGRAPH_MLIR_ENABLE OR NGRAPH_CPU_MLIR_ENABLE)
        find_package(MLIR REQUIRED CONFIG HINTS "${NGRAPH_EXTERNAL_LLVM_BUILD_DIR}/lib/cmake/mlir" NO_DEFAULT_PATH)
        include(${NGRAPH_EXTERNAL_LLVM_BUILD_DIR}/lib/cmake/llvm/TableGen.cmake)
        # Enable LLVM package, definitions and env vars.
        add_definitions(${LLVM_DEFINITIONS})
        message(STATUS "Found LLVM ${LLVM_PACKAGE_VERSION}")
        message(STATUS "LLVM RTTI is ${LLVM_ENABLE_RTTI}")
    endif()
    set(llvm_BINARY_DIR ${NGRAPH_EXTERNAL_LLVM_BUILD_DIR})
    set(llvm_SOURCE_DIR ${llvm_BINARY_DIR}/..)
else()
    if (NGRAPH_USE_PREBUILT_LLVM)
        message(FATAL_ERROR "LLVM: prebuilt is the wrong hash, expected ${LLVM_COMMIT_ID}")
    endif()
    message(STATUS "LLVM: Building LLVM from source")
    message(STATUS "LLVM: Fetching source")

    set(LLVM_ARCHIVE_URL https://github.com/llvm/llvm-project/archive/${LLVM_COMMIT_ID}.zip)
    set(LLVM_ARCHIVE_URL_HASH 4f5c27db3801988895ab6062facf3c6124f23cd4)

    FetchContent_Declare(
        llvm
        URL ${LLVM_ARCHIVE_URL}
        URL_HASH SHA1=${LLVM_ARCHIVE_URL_HASH}
        )

    set(LLVM_ENABLE_RTTI ON CACHE INTERNAL "")
    set(LLVM_TARGETS_TO_BUILD host CACHE INTERNAL "")
    if(NGRAPH_CODEGEN_ENABLE)
        set(LLVM_ENABLE_PROJECTS "clang;openmp;mlir" CACHE INTERNAL "")
    else()
        set(LLVM_ENABLE_PROJECTS "mlir" CACHE INTERNAL "")
    endif()

    FetchContent_GetProperties(llvm)
    if(NOT llvm_POPULATED)
        FetchContent_Populate(llvm)
        add_subdirectory(${llvm_SOURCE_DIR}/llvm ${llvm_BINARY_DIR})
    endif()

    # In subdirectory build cannot use cmake config file and need to set some variables manually
    set(LLVM_CMAKE_DIR ${llvm_SOURCE_DIR}/llvm/cmake/modules)
    set(LLVM_INCLUDE_DIRS ${llvm_SOURCE_DIR}/llvm/include ${llvm_BINARY_DIR}/include)
    if(NGRAPH_MLIR_ENABLE OR NGRAPH_CPU_MLIR_ENABLE)
        set(MLIR_CMAKE_DIR ${llvm_SOURCE_DIR}/mlir/cmake/modules)
        set(MLIR_INCLUDE_DIR ${llvm_BINARY_DIR}/tools/mlir/include)
        set(MLIR_INCLUDE_DIRS ${llvm_SOURCE_DIR}/mlir/include ${llvm_BINARY_DIR}/tools/mlir/include)
        set(MLIR_TABLEGEN_EXE "mlir-tblgen")
    endif()
    if(NGRAPH_CODEGEN_ENABLE)
        set(CLANG_INCLUDE_DIRS ${llvm_SOURCE_DIR}/clang/include ${llvm_BINARY_DIR}/tools/clang/include)
        set(LLVM_INCLUDE_DIR ${llvm_BINARY_DIR}/include)
        set(LLVM_VERSION_MAJOR 12)
        set(LLVM_VERSION_MINOR 0)
        set(LLVM_VERSION_PATCH 0)
    endif()
endif()

if(NGRAPH_CODEGEN_ENABLE)
    message(STATUS "CLANG_INCLUDE_DIRS: ${CLANG_INCLUDE_DIRS}")
    message(STATUS "LLVM_INCLUDE_DIRS: ${LLVM_INCLUDE_DIRS}")
    add_library(libllvm INTERFACE)
    target_include_directories(libllvm INTERFACE ${CLANG_INCLUDE_DIRS} ${LLVM_INCLUDE_DIRS})
    target_link_libraries(libllvm INTERFACE clangHandleCXX clangHandleLLVM)
endif()

if(NGRAPH_MLIR_ENABLE OR NGRAPH_CPU_MLIR_ENABLE)
    # MLIR environment variables. Some of them are used by LIT tool.

    # Only used in this file
    set(MLIR_SOURCE_DIR ${llvm_SOURCE_DIR}/mlir)
    # Used in test/mlir:
    # lit cfg
    set(MLIR_LLVM_BUILD_DIR ${llvm_BINARY_DIR})
    set(NGRAPH_LIT_TEST_SRC_DIR ${PROJECT_SOURCE_DIR}/test/mlir)
    set(NGRAPH_LIT_TEST_BUILD_DIR ${PROJECT_BINARY_DIR}/test/mlir)
    # lit cfg and path to llvm-lit
    set(MLIR_LLVM_TOOLS_DIR ${MLIR_LLVM_BUILD_DIR}/bin)

    # Enable modules for LLVM.
    list(APPEND CMAKE_MODULE_PATH "${LLVM_CMAKE_DIR}")
    message(STATUS "Using LLVM modules in: ${LLVM_CMAKE_DIR}")
    include(AddLLVM)

    # Enable modules for MLIR.
    list(APPEND CMAKE_MODULE_PATH "${MLIR_CMAKE_DIR}")
    message(STATUS "Using MLIR modules in: ${MLIR_CMAKE_DIR}")
    include(AddMLIR)

    # Used by tblgen
    set(MLIR_SRC_INCLUDE_PATH ${MLIR_SOURCE_DIR}/include)
    set(MLIR_BIN_INCLUDE_PATH ${MLIR_INCLUDE_DIR})
    # Used by ngraph mlir and cpu backend
    set(MLIR_INCLUDE_PATHS ${MLIR_INCLUDE_DIRS})
    set(MLIR_LLVM_INCLUDE_PATH ${LLVM_INCLUDE_DIRS})

    message(STATUS "MLIR headers at: ${MLIR_INCLUDE_PATHS}")
    message(STATUS "LLVM headers at: ${MLIR_LLVM_INCLUDE_PATH}")
endif()

repository: adstraw/ngraph

repo_name: adstraw/ngraph

extension: cmake


text:
SUMMARY = "Intel ASD Utility"
DESCRIPTION = "Intel At-Scale Debug utility"

LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=0d1c657b2ba1e8877940a8d1614ec560"

SRC_URI = "git://github.com/Intel-BMC/asd"
SRCREV = "451759eec5891fc2b5b19a16475df6c20e3b24cb"

S = "${WORKDIR}/git"
PV = "0.1+git${SRCPV}"

DEPENDS = "openssl libpam libgpiod systemd"

inherit cmake systemd


text:
SECTION = "devel/chicken"
DESCRIPTION = "Blob Utilities"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://blob-utils.meta;md5=87426bbdce89b822db6138cec889179d"
DEPENDS_append_class-cross = " chicken-egg-setup-helper-cross chicken-egg-string-utils-cross"
DEPENDS_append_class-crosssdk = " chicken-egg-setup-helper-crosssdk chicken-egg-string-utils-crosssdk"
DEPENDS_append_class-nativesdk = " nativesdk-chicken-egg-setup-helper nativesdk-chicken-egg-string-utils chicken-egg-setup-helper-crosssdk chicken-egg-string-utils-crosssdk"
DEPENDS = " chicken-egg-setup-helper chicken-egg-string-utils chicken-egg-setup-helper-cross chicken-egg-string-utils-cross"
RDEPENDS_${PN} = " chicken-egg-setup-helper chicken-egg-string-utils"

SRC_URI = "http://code.call-cc.org/egg-tarballs/4/blob-utils/blob-utils-${PV}.tar.gz"

SRC_URI[md5sum] = "2a737bdafed9ec30d5177f06242a737d"
SRC_URI[sha256sum] = "ac4a7ed349dde12c10678eb1de4b77b7ca3c3adfda0d4e3b95be630ef9a5631c"

S = "${WORKDIR}/blob-utils-${PV}"

inherit chicken_install

BBCLASSEXTEND = "cross crosssdk nativesdk"

repository: OSSystems/meta-chicken

repo_name: OSSystems/meta-chicken


text:
// Copyright © 2016 Casa Platform
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//     http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

package main

import (
	"fmt"
	"log"
	"os"

	"github.com/pkg/errors"

	"github.com/casaplatform/casa/cmd/casa/cmd"
	"github.com/casaplatform/casa/cmd/casa/environment"

	// These imports are to enable these "plugins". This will change once
	// plugin support is released for Go.
	_ "github.com/casaplatform/daytime"
	_ "github.com/casaplatform/hue"
	_ "github.com/casaplatform/logger"
	_ "github.com/casaplatform/rules"
	_ "github.com/casaplatform/storage"
)

func main() {
	// Defer printing of the error, and avoid using log.Fatal or os.Exit
	// in order to allow any other deferred function to run.
	// See https://goo.gl/BLKYGv
	env := environment.Env
	env.WithOptions(environment.WithLogger(new(logLogger)))
	var err error
	defer func() {
		if err != nil {
			// Print out a stack trace
			if err, ok := err.(stackTracer); ok {
				env.Log("Casa has failed. Stack trace:")
				for _, f := range err.StackTrace() {
					fmt.Printf("%+s:%d", f, f)
				}
				os.Exit(1)
			} else {
				env.Log(err)
			}
		}
		// Do other stuff to shutdown
	}()
	err = cmd.RootCmd.Execute()
}

type stackTracer interface {
	StackTrace() errors.StackTrace
}

// A simple casa.Logger that uses std lib log package
type logLogger struct{}

func (f logLogger) Log(a ...interface{}) {
	log.Println(a...)
}

repository: casaplatform/casa

repo_name: casaplatform/casa


text:
macro(manageMetasActivation)

  if(EnableMetas)

    string(REPLACE "/" ";" ${EnableMetas} ${EnableMetas})

    foreach(meta ${EnableMetas})
      loadMeta(NAME ${meta})
    endforeach()

  endif()

endmacro()

repository: arcaneframework/framework

repo_name: arcaneframework/framework

branch_name: refs/heads/main


text:
require oas2-petstore.inc
PR = "${INC_PR}.0"

inherit generator-swagger
SWAGGER_ENDPOINT = "clients/python-flask"
S = "${WORKDIR}/python-flask-client"

edit_post_data() {
    # python
    # "packageName": { "opt": "packageName", "description": "python package name (convention: snake_case).", "type": "string", "default": "swagger_client" },
    # "projectName": { "opt": "projectName", "description": "python project name in setup.py (e.g. petstore-api).", "type": "string" },
    # "packageVersion": { "opt": "packageVersion", "description": "python package version.", "type": "string", "default": "1.0.0" },
    # "packageUrl": { "opt": "packageUrl", "description": "python package URL.", "type": "string" },
    # "sortParamsByRequiredFlag": { "opt": "sortParamsByRequiredFlag", "description": "Sort method arguments to place required parameters before optional parameters.", "type": "boolean", "default": "true" },
    # "hideGenerationTimestamp": { "opt": "hideGenerationTimestamp", "description": "hides the timestamp when files were generated", "type": "string", "default": "true" },
    # "library": { "opt": "library", "description": "library template (sub-template) to use", "type": "string", "default": "urllib3" }
    jq  \
        --arg packageName "${APPNAME}" \
        --arg projectName "${APPNAME}" \
        --arg packageVersion "${PV}" \
        '. | .options.packageName=$packageName | .options.projectName=$projectName | .options.packageVersion=$packageVersion'
}

inherit setuptools3

repository: NGenetzky/meta-ngenetzky

repo_name: NGenetzky/meta-ngenetzky


repository: dtbinh/MSR-gazebo-code

repo_name: dtbinh/MSR-gazebo-code


text:
@MISC{pbdR2012,
  author = {Ostrouchov, G. and Chen, W.-C. and Schmidt, D. and Patel, P.},
  title = {{Programming with Big Data in R}},
  year = {2012},
  url = {http://r-pbd.org/}
}

@Manual{pbdCS,
  title = {{pbdCS: 'pbdR' Client/Server Utilities}},
  author = {Drew Schmidt and Wei-Chen Chen},
  note = {R package version 0.1-0},
  year = {2015},
  url = {https://github.com/RBigData/pbdCS}
}

@Manual{remoter,
  title = {{remoter: Remote R: Control a Remote R Session from a Local One}},
  author = {Drew Schmidt and Wei-Chen Chen},
  note = {R package version 0.1-1},
  year = {2015},
  url = {https://github.com/wrathematics/remoter}
}

@Misc{Chen2015pbdZMQpackage,
  title = {{pbdZMQ: Programming with Big Data -- Interface to ZeroMQ}},
  author = {Wei-Chen Chen and Drew Schmidt},
  year = {2015},
  note = {{R} Package, URL http://cran.r-project.org/package=pbdZMQ},
}

@Manual{Chen2015pbdZMQvignette,
  title = {{A Quick Guide for the {pbdZMQ} Package (Ver. 0.1-0)}},
  author = {Wei-Chen Chen and Drew Schmidt},
  year = {2015},
  note = {{R} Vignette, URL http://cran.r-project.org/package=pbdZMQ},
}

@MISC{zeromq,
  author = {Hintjens, P.},
  title = {The ZeroMQ Guide -- for C Developers},
  year = {2013},
  note = {},
  url = {http://zguide.zeromq.org/page:all}
}

@Manual{sodium,
  title = {sodium: A Modern and Easy-to-Use Crypto Library},
  author = {Jeroen Ooms},
  year = {2015},
  note = {R package version 0.2},
  url = {https://CRAN.R-project.org/package=sodium},
}

@MISC{libsodium,
  author = {},
  title = {libsodium},
  year = {2015},
  note = {},
  url = {https://github.com/jedisct1/libsodium}
}

@Misc{Chen2017pbdRPCpackage,
  title = {{pbdRPC}: Programming with Big Data -- Remote Procedure Call},
  author = {Wei-Chen Chen},
  year = {2017},
  note = {{R} Package, URL https://cran.r-project.org/package=pbdMPI},
}

@Manual{Chen2017pbdRPCvignette,
  title = {A Quick Guide for the {pbdRPC} Package},
  author = {Wei-Chen Chen},
  year = {2017},
  note = {{R} Vignette, URL https://cran.r-project.org/package=pbdRPC},
}

@Misc{argon2,
  title = {{argon2}: Secure Password Hashing},
  author = {Drew Schmidt},
  year = {2017},
  note = {{R} package version 0.2-0},
  url = {https://cran.r-project.org/package=argon2},
}

@Misc{getPassPackage,
  title = {{getPass}: Masked User Input},
  author = {Drew Schmidt and Wei-Chen Chen},
  note = {{R} package version 0.2-1},
  url = {https://cran.r-project.org/package=getPass},
  year = {2017}
}

@Manual{getPassVignette,
  title = {Guide to the {getPass} Package},
  author = {Drew Schmidt},
  note = {{R} Vignette},
  url = {https://cran.r-project.org/package=getPass},
  year = {2017}
}

@Manual{remoterguide,
  title = {Guide to the {remoter} Package},
  author = {Drew Schmidt},
  note = {{R} Vignette},
  url = {https://cran.r-project.org/package=remoter},
  year = {2017}
}

@Manual{remotemachineguide,
  title = {Using {remoter} with Remote Machines},
  author = {Drew Schmidt},
  note = {{R} Vignette},
  url = {https://cran.r-project.org/package=remoter},
  year = {2017}
}

repository: RBigData/remoter

repo_name: RBigData/remoter

gha_license_id: NOASSERTION

gha_language: R


text:
DESCRIPTION = "Portable network interface information for Python"
SECTION = "devel/python"

LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=a53cbc7cb75660694e138ba973c148df"

inherit pypi setuptools3

SRC_URI += "file://0001-netifaces-initialize-msghdr-in-a-portable-way.patch"

SRC_URI[sha256sum] = "043a79146eb2907edf439899f262b3dfe41717d34124298ed281139a8b93ca32"


text:
package model

// Provides information about the beneficial owner of the securities.
type PartyIdentification56 struct {

	// Party that is the beneficial owner of the specified quantity of securities.
	OwnerIdentification *PartyIdentification48Choice `xml:"OwnrId"`

	// Alternate identification for a party.
	AlternateIdentification []*AlternatePartyIdentification2 `xml:"AltrnId,omitempty"`

	// Country in which a person is permanently domiciled (the place of a persons permanent home).
	DomicileCountry *CountryCode `xml:"DmclCtry,omitempty"`

	// Holder of the security certifies, in line with the terms of the corporate action, that it is not domiciled in the country indicated.
	NonDomicileCountry []*CountryCode `xml:"NonDmclCtry,omitempty"`

	// Quantity of securities belonging to the beneficial owner specified.
	OwnedSecuritiesQuantity *FinancialInstrumentQuantity1Choice `xml:"OwndSctiesQty"`

	// Type of certification which is required.
	CertificationType []*BeneficiaryCertificationType6Choice `xml:"CertfctnTp,omitempty"`

	// Provides details relative to the beneficial owner not included within structured fields of this message.
	DeclarationDetails *Max350Text `xml:"DclrtnDtls,omitempty"`
}

func (p *PartyIdentification56) AddOwnerIdentification() *PartyIdentification48Choice {
	p.OwnerIdentification = new(PartyIdentification48Choice)
	return p.OwnerIdentification
}

func (p *PartyIdentification56) AddAlternateIdentification() *AlternatePartyIdentification2 {
	newValue := new(AlternatePartyIdentification2)
	p.AlternateIdentification = append(p.AlternateIdentification, newValue)
	return newValue
}

func (p *PartyIdentification56) SetDomicileCountry(value string) {
	p.DomicileCountry = (*CountryCode)(&value)
}

func (p *PartyIdentification56) AddNonDomicileCountry(value string) {
	p.NonDomicileCountry = append(p.NonDomicileCountry, (*CountryCode)(&value))
}

func (p *PartyIdentification56) AddOwnedSecuritiesQuantity() *FinancialInstrumentQuantity1Choice {
	p.OwnedSecuritiesQuantity = new(FinancialInstrumentQuantity1Choice)
	return p.OwnedSecuritiesQuantity
}

func (p *PartyIdentification56) AddCertificationType() *BeneficiaryCertificationType6Choice {
	newValue := new(BeneficiaryCertificationType6Choice)
	p.CertificationType = append(p.CertificationType, newValue)
	return newValue
}

func (p *PartyIdentification56) SetDeclarationDetails(value string) {
	p.DeclarationDetails = (*Max350Text)(&value)
}


text:
package authorization

import (
	"context"
	"encoding/json"
	"time"

	"github.com/capella-pw/queue/cn"
	"github.com/capella-pw/queue/storage"
	"github.com/myfantasy/mfs"
	"github.com/myfantasy/mft"
)

type User struct {
	Name    string                                `json:"name"`
	IsAdmin bool                                  `json:"is_admin,omitempty"`
	Rules   map[string]map[string]map[string]bool `json:"rule"`
}

func (u *User) Allow(objectType string, action string, objectName string) bool {
	return u.AllowRow(objectType, action, objectName) ||
		u.AllowRow(objectType, action, "*") ||
		u.AllowRow(objectType, "*", objectName) ||
		u.AllowRow(objectType, "*", "*") ||
		u.AllowRow("*", action, objectName) ||
		u.AllowRow("*", action, "*") ||
		u.AllowRow("*", "*", objectName) ||
		u.AllowRow("*", "*", "*")
}

func (u *User) AllowRow(objectType string, action string, objectName string) bool {

	if u.IsAdmin {
		return true
	}

	if u.Rules == nil {
		return false
	}

	a, ok := u.Rules[objectType]
	if !ok {
		return false
	}

	o, ok := a[action]
	if !ok {
		return false
	}

	v, ok := o[objectName]
	if !ok {
		return false
	}

	return v
}

func (u *User) Set(objectType string, action string, objectName string, value bool) {

	if u.Rules == nil {
		u.Rules = make(map[string]map[string]map[string]bool)
	}

	a, ok := u.Rules[objectType]
	if !ok {
		a = make(map[string]map[string]bool)
		u.Rules[objectType] = a
	}

	o, ok := a[action]
	if !ok {
		o = make(map[string]bool)
		a[action] = o
	}

	o[objectName] = value
}

func (u *User) Drop(objectType string, action string, objectName string) {
	if u.Rules == nil {
		return
	}

	a, ok := u.Rules[objectType]
	if !ok {
		return
	}

	o, ok := a[action]
	if !ok {
		return
	}

	delete(o, objectName)
	if len(o) == 0 {
		delete(a, action)
	}

	if len(a) == 0 {
		delete(u.Rules, objectType)
	}
}

// SecurityATRZ - authorization
type SecurityATRZ struct {
	Users map[string]*User `json:"users"`

	// OnChange event func (send self)
	OnChangeFunc func(s *SecurityATRZ) (err *mft.Error) `json:"-"`
	mx           mfs.PMutex
	mxFile       mfs.PMutex

	// case nil then ignore
	CheckPermissionFunc func(ctx context.Context, user cn.CapUser, objectType string, action string, objectName string) (allowed bool, err *mft.Error) `json:"-"`
}

func (s *SecurityATRZ) CheckPermissionForInternal(ctx context.Context, user cn.CapUser, objectType string, action string, objectName string) (allowed bool, err *mft.Error) {
	if s == nil {
		return false, nil
	}

	if s.CheckPermissionFunc == nil {
		return true, nil
	}

	return s.CheckPermissionFunc(ctx, user, objectType, action, objectName)
}

func (s *SecurityATRZ) OnChange() (err *mft.Error) {
	if s == nil {
		return nil
	}

	if s.OnChangeFunc == nil {
		return nil
	}

	err = s.OnChangeFunc(s)

	if err != nil {
		return GenerateErrorE(10310000, err)
	}

	return nil
}

func (s *SecurityATRZ) CheckPermission(ctx context.Context, user cn.CapUser, objectType string, action string, objectName string) (allowed bool, err *mft.Error) {

	s.mx.RLock()
	defer s.mx.RUnlock()

	u, ok := s.Users[user.GetName()]

	if !ok {
		return false, nil
	}

	return u.Allow(objectType, action, objectName), nil
}

func (s *SecurityATRZ) AddUser(ctx context.Context, user cn.CapUser, name string, isAdmin bool) (err *mft.Error) {
	allowed, err := s.CheckPermissionForInternal(ctx, user, cn.AuthorizationSelfObjectType, cn.AAddUserAction, name)

	if err != nil {
		return GenerateErrorForClusterUserE(user, 10310101, err)
	}

	if !allowed {
		return GenerateErrorForClusterUser(user, 10310102)
	}

	s.mx.Lock()

	_, ok := s.Users[name]

	if !ok {
		s.Users[name] = &User{
			Name:    name,
			IsAdmin: isAdmin,
			Rules:   make(map[string]map[string]map[string]bool),
		}
		s.mx.Unlock()
		return s.OnChange()
	}
	s.mx.Unlock()

	return GenerateError(10310100, name)
}

func (s *SecurityATRZ) SetUserAdmin(ctx context.Context, user cn.CapUser, name string, isAdmin bool) (err *mft.Error) {
	allowed, err := s.CheckPermissionForInternal(ctx, user, cn.AuthorizationSelfObjectType, cn.ASetUserAdminAction, name)

	if err != nil {
		return GenerateErrorForClusterUserE(user, 10310201, err)
	}

	if !allowed {
		return GenerateErrorForClusterUser(user, 10310202)
	}

	s.mx.Lock()

	u, ok := s.Users[name]

	if ok {
		u.IsAdmin = isAdmin

		s.mx.Unlock()

		return s.OnChange()
	}
	s.mx.Unlock()

	return GenerateError(10310200, name)
}

func (s *SecurityATRZ) DropUser(ctx context.Context, user cn.CapUser, name string) (err *mft.Error) {
	allowed, err := s.CheckPermissionForInternal(ctx, user, cn.AuthorizationSelfObjectType, cn.ADropUserAction, name)

	if err != nil {
		return GenerateErrorForClusterUserE(user, 10310301, err)
	}

	if !allowed {
		return GenerateErrorForClusterUser(user, 10310302)
	}

	s.mx.Lock()

	_, ok := s.Users[name]

	if ok {
		delete(s.Users, name)

		s.mx.Unlock()

		return s.OnChange()
	}
	s.mx.Unlock()

	return GenerateError(10310300, name)
}

func (s *SecurityATRZ) UserRuleSet(ctx context.Context, user cn.CapUser, name string, objectType string, action string, objectName string, allowed bool) (err *mft.Error) {
	allowedCheck, err := s.CheckPermissionForInternal(ctx, user, cn.AuthorizationSelfObjectType, cn.AUserRuleSetAction, name)

	if err != nil {
		return GenerateErrorForClusterUserE(user, 10310401, err)
	}

	if !allowedCheck {
		return GenerateErrorForClusterUser(user, 10310402)
	}

	s.mx.Lock()

	u, ok := s.Users[name]

	if ok {
		u.Set(objectType, action, objectName, allowed)

		s.mx.Unlock()

		return s.OnChange()
	}
	s.mx.Unlock()

	return GenerateError(10310400, name)
}

func (s *SecurityATRZ) UserRuleDrop(ctx context.Context, user cn.CapUser, name string, objectType string, action string, objectName string) (err *mft.Error) {
	allowed, err := s.CheckPermissionForInternal(ctx, user, cn.AuthorizationSelfObjectType, cn.AUserRuleDropAction, name)

	if err != nil {
		return GenerateErrorForClusterUserE(user, 10310501, err)
	}

	if !allowed {
		return GenerateErrorForClusterUser(user, 10310502)
	}

	s.mx.Lock()

	u, ok := s.Users[name]

	if ok {
		u.Drop(objectType, action, objectName)

		s.mx.Unlock()

		return s.OnChange()
	}
	s.mx.Unlock()

	return GenerateError(10310500, name)
}

func (s *SecurityATRZ) Get(ctx context.Context, user cn.CapUser) (sOut *SecurityATRZ, err *mft.Error) {
	allowed, err := s.CheckPermissionForInternal(ctx, user, cn.AuthorizationSelfObjectType, cn.AGetAction, "")

	if err != nil {
		return nil, GenerateErrorForClusterUserE(user, 10310802, err)
	}

	if !allowed {
		return nil, GenerateErrorForClusterUser(user, 10310803)
	}

	sOut = &SecurityATRZ{
		Users: make(map[string]*User),
	}

	s.mx.Lock()

	b, er0 := json.Marshal(s)

	s.mx.Unlock()
	if er0 != nil {
		return sOut, GenerateErrorE(10310800, er0)
	}

	er0 = json.Unmarshal(b, sOut)

	if er0 != nil {
		return sOut, GenerateErrorE(10310801, er0)
	}

	return sOut, nil
}

var WaitTimeout = time.Second * 5

func StorageOnChangeFuncGenerator(s storage.Storage, file string) func(sec *SecurityATRZ) (err *mft.Error) {
	return func(sec *SecurityATRZ) (err *mft.Error) {
		sec.mxFile.Lock()
		defer sec.mxFile.Unlock()

		sec.mx.RLock()
		data, er0 := json.MarshalIndent(sec, "", "  ")
		sec.mx.RUnlock()

		if er0 != nil {
			return GenerateErrorE(10310600, er0)
		}

		ctx, cancel := context.WithTimeout(context.Background(), WaitTimeout)
		defer cancel()
		err = s.Save(ctx, file, data)
		if err != nil {
			return GenerateErrorE(10310601, err)
		}

		return nil
	}
}

func StorageLoad(s storage.Storage, file string) (sec *SecurityATRZ, err *mft.Error) {

	sec = &SecurityATRZ{
		Users:        make(map[string]*User),
		OnChangeFunc: StorageOnChangeFuncGenerator(s, file),
	}

	sec.CheckPermissionFunc = sec.CheckPermission

	ctx, cancel := context.WithTimeout(context.Background(), WaitTimeout)
	defer cancel()
	body, err := s.Get(ctx, file)
	if err != nil {
		return nil, GenerateErrorE(10310700, err)
	}

	er0 := json.Unmarshal(body, sec)
	if er0 != nil {
		return nil, GenerateErrorE(10310701, er0)
	}

	return sec, nil
}

repository: capella-pw/queue

repo_name: capella-pw/queue


text:
@article{jonesFundamental1964,
  title = {Fundamental {{Inequalities}} for {{Discrete}} and {{Discontinuous Functional Equations}}},
  author = {Jones, G. Stephen},
  year = {1964},
  journal = {Journal of the Society for Industrial and Applied Mathematics},
  volume = {12},
  number = {1},
  pages = {43--57},
  publisher = {{Society for Industrial and Applied Mathematics}},
  issn = {0368-4245},
  file = {C\:\\Users\\sujy\\Zotero\\storage\\5GNZ6L9L\\Jones - 1964 - Fundamental Inequalities for Discrete and Disconti.pdf}
}

@book{mitrinovicInequalities2012,
  title = {Inequalities Involving Functions and Their Integrals and Derivatives},
  author = {Mitrinovic, Dragoslav S. and Pecaric, Josip and Fink, Arlington M.},
  year = {2012},
  volume = {53},
  publisher = {{Springer Science \& Business Media}},
  file = {C\:\\Users\\sujy\\Zotero\\storage\\F2QGKCJ6\\Inequalities Involving Functions and Their Integrals and Derivatives by D. S. Mitrinović, J. E. Pečarić, A. M. Fink (auth.) (z-lib.org).pdf}
}


text:
// +build test

package test

import (
	"context"
	"fmt"
	"log"
	"net/http"

	"github.com/prometheus/client_model/go"
	"github.com/prometheus/common/expfmt"
)

func ExpectMetric(name string, value float64, opts ...interface{}) {
	ctx := context.Background()
	port := 3569
	for _, opt := range opts {
		switch v := opt.(type) {
		case int:
			port = v
		default:
			panic(fmt.Errorf("unsupported option type %T", v))
		}
	}
	log.Printf("expect metric %q to be %f on %d\n", name, value, port)
	for n, family := range getMetrics(ctx, port) {
		if n == name {
			for _, m := range family.Metric {
				v := getValue(m)
				if value == v {
					return
				} else {
					panic(fmt.Errorf("metric %q expected %f, got %f", n, value, v))
				}
			}
		}
	}
	panic(fmt.Errorf("metric named %q not found in %q on %d", name, getMetrics(ctx, port), port))
}

func getValue(m *io_prometheus_client.Metric) float64 {
	if x := m.Counter; x != nil {
		return x.GetValue()
	} else if x := m.Gauge; x != nil {
		return x.GetValue()
	} else {
		panic(fmt.Errorf("metric not-supported (not a counter/gauge)"))
	}
}

func getMetrics(ctx context.Context, port int) map[string]*io_prometheus_client.MetricFamily {
	req, err := http.NewRequestWithContext(ctx, "GET", fmt.Sprintf("http://localhost:%d/metrics", port), nil)
	if err != nil {
		panic(err)
	}
	resp, err := http.DefaultClient.Do(req)
	if err == context.Canceled {
		return nil // rather than panic, just return nothing
	}
	if err != nil {
		panic(err)
	}
	defer func() { _ = resp.Body.Close() }()
	if resp.StatusCode != 200 {
		panic(resp.Status)
	}
	p := &expfmt.TextParser{}
	families, err := p.TextToMetricFamilies(resp.Body)
	if err != nil {
		panic(err)
	}
	return families
}

repository: inishchith/argo-dataflow

repo_name: inishchith/argo-dataflow


text:
@article {PMID:9371080,
urldate = {2020-02-27},
	Title = {Qualitative research articles: information for authors and peer reviewers},
	Author = {Rowan, M and Huston, P},
	Number = {10},
	Volume = {157},
	Month = {November},
	Year = {1997},
	Journal = {CMAJ : Canadian Medical Association journal = journal de l'Association medicale canadienne},
	ISSN = {1488-2329},
	Pages = {1442—1446},
	URL = {https://europepmc.org/articles/PMC1228487},
}

repository: pmean/build-website

repo_name: pmean/build-website