from clarityviz import claritybase
from clarityviz import densitygraph

c = claritybase(token, source_directory)

c.applyLocalEq()

c.loadGeneratedNii()

c.calculatePoints(0.9, 0.005)

c.savePoints()

c.generate_plotly_html()

"""
Explanation: Testing the pipeline and seeing if results are accurate.
img -> nii -> csv -> plotly
End of explanation
"""


from clarityviz import densitygraph

dg = densitygraph('Fear199')
dg.generate_density_graph()
dg.generate_heat_map()

"""
Explanation: plots
Fear199
confirmed plot:
https://neurodatadesign.github.io/seelviz/reveal/html/Fear199localeq.html
clarityviz package plot:
https://neurodatadesign.github.io/seelviz/reveal/html/clarityvizhtmls/Fear199plotly.html
Cocaine174
confirmed plot:
https://neurodatadesign.github.io/seelviz/reveal/html/Cocaine174localeq.html
clarityviz package plot:
https://neurodatadesign.github.io/seelviz/reveal/html/clarityvizhtmls/Cocaine174plotly.html
Control181
confirmed plot:
https://neurodatadesign.github.io/seelviz/reveal/html/Control181localeq.html
clarityviz package plot:
https://neurodatadesign.github.io/seelviz/reveal/html/clarityvizhtmls/Control181plotly.html
Density graphs
End of explanation
"""


